snowboardr
Programmer
I am trying to post multiple checkbox values... (they all have the same name different value) but its not working... IE says Object expected
I have checked my form names / ids etc... I have tried different methods to return the values... but its not working.
Regards
I have checked my form names / ids etc... I have tried different methods to return the values... but its not working.
Regards
Code:
function status(intstatus)
{
var str = "id=" + document.getElementById('mailchecks2') + "&status=" + intstatus;
var url = "/ajax/mail/mail_status.asp";
xmlHttp=createRequestObject()
xmlHttp.open("POST",url,true);
xmlHttp.setRequestHeader("Content-Type","application/x-[URL unfurl="true"]www-form-urlencoded;[/URL] charset=UTF-8");
xmlHttp.send(str);
LoadMAILHtml('0');
}