2
Vote

Bug on textarea and "&" char

description

Hi Stefan,
I found a bug in textarea, you've to encode the return value like the textbox...
 
<code>
    var textareaElements = contentPanel.getElementsByTagName("textarea");
    for (var i = 0; i < textareaElements.length; i++)
        requestBody += "&" + textareaElements[i].name + "=" + encodeURIComponent(textareaElements[i].value); //Patched line
</code>

comments