Following html code was working in IE7 & I8 few months before. but now it's not working in IE7 & I8
What's the wrong with above code? it has to do with code or with updates of IE browsers? Do I need to update IE7 & IE8.
It looks like you are missing : in your onclick statement.
Do you have a link to your site or a test page that demonstrates the issue?
Have you checked the Developer Tool console for scripting errors... In IE8... Tools>Internet Options, Advanced tab, check "Display notification about every script error"
try adding return false; to your onclick statement.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?