Portal Home > Knowledgebase > Articles Database > Javascript - object expected
Posted by Gigaron, 03-21-2008, 12:12 AM I'm getting a javascript error - object expected on the below code. It only happens in IE6 but not Firefox. Can someone tell me why? Thanks
Posted by Xeentech, 03-21-2008, 12:33 PM You're Firefox must be broken.. or very smart. Mine gettings the following error: Once you define the function displayWarning, I guested at what it is supposed to be here: it won't give an error it either browser. You might find debugging eiser if you format your code so it's a little more... readable? Example:
Add to Favourites Print this Article