Browser issue with script

not sure if its browser or script or update panel issue
i have a javascript which gets initated by a control in update panel
in IE if i dont write alert (“anythinh”); in the script it doesnot get executed but in FF it does
but if i write alert it gets executed in both

That is an odd issue. May we see some example code that demonstrates the problem?