snowboardr
Programmer
I am getting an error when running this code in IE... however it works as it should with firefox...(go figure) basicly i am marking a record with a star...
"Object doesn't support this property or method"
Code 0
thanks in advance
"Object doesn't support this property or method"
Code 0
Code:
//star
function star(pmid)
{
var url = "/ajax/mail/save_star.asp?id=";
var GetStar = document.getElementById('star' + pmid);
if (GetStar.src.indexOf('/images/buttons/star0.gif') != -1) {
GetStar.src = '/images/buttons/star1.gif';
url = url + pmid + "&value=1";
} else {
GetStar.src = '/images/buttons/star0.gif';
url = url + pmid + "&value=0";
}
xmlHttp=createRequestObject()
xmlHttp.open("GET", url , true)
xmlHttp.send('')
}
/////
thanks in advance