ajax aspx script arguments polish (special) characters

moreniche

New Member
I'm using ajax to invoke aspx server side script to send email message. Here is my ajax send function:\[code\]//global variables-------------------------------------------------------var html_dir = "/Html/"var net_dir = "/Net/"//ajax request-----------------------------------------------------------function ajaxRequest(url, cfunc, asynch){ // code for IE7+, Firefox, Chrome, Opera, Safari if (window.XMLHttpRequest){ response = new XMLHttpRequest();}// code for IE6, IE5else{ response = new ActiveXObject("Microsoft.XMLHTTP");} //send request response.onreadystatechange = cfunc; response.open("GET", url, asynch); response.send();}//----------------------------------------------------------------------- \[/code\]and this how I run this function:\[code\]ajaxRequest(net_dir + "SendForm.aspx?emailBody=" + emailBody, formSent, true);\[/code\]it works fine but I have problem with polish characters (?
 
Back
Top