i have a function called g_checkStatus() that's inside of an onclick attribute in a div tag. it works perfect in every browser except for IE. with IE i get an "Object Expected" error.

if i replace onclick="g_checkStatus();" with onclick="alert('testing');" it works fine in IE. even if i strip the g_checkStatus function of everything and just simply have it trigger an alert() i get the "Object Expected" error, as well.

there's gotta be something i'm missing, i just don't know what IE is wanting me to do.