JürgenB: mailto: Funktion schreibt nicht die gewünschten Werte

Beitrag lesen

Hallo Sascha,

eine Ungereimtheit ist mir aufgefallen:

<form name="formular" action="" method="post" enctype=text/plain onsubmit="return checkFormular()">

^ hier post

function action() {

  var mail = "mailto:sascha.bohr@ottogroup.com";  
  var subject = "?subject=Test";  

^ und hier get!

  var body = "&body=TEEEST";  
    
  document.formular.action = mail + subject + body;  

}

  
  
  
Gruß, Jürgen