Thursday, May 17, 2007

Javascript link submit in IE6

The problem only occurred if you use Internet Explorer 6 or older. Using href="javascript:;" and onclick="some function" will ignore onclick in IE6 (does not happen w/ Firefox). Solution: simply use "javascript:some function;"

0 Comments:

Post a Comment

<< Home