![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hi, Normally, a piece of code such as a href="http://www.yahoo.com" onclick="alert('hello');return false;">link</a will stop the browser from actually going to href's destination. However, this is not the case with the IE7 I am using. What has changed? You have a newline after 'return', so javascript will insert a semicolon |
![]() |
| Thread Tools | |
| Display Modes | |
| |