html - IE8 Browser JavaScript issue -
Can anyone tell me why IE8 does not have the following functions but in Safari 5.1?
& lt; A onclick = "javascript: submit ();" & Gt; & Lt; Img src = "picture / next page" width = "20" height = "20" & gt; & Lt; / A & gt; Javascript is enabled in both IE8 and Safari 5.1.
Try leaving javascript: 'onclick' only Once I see this syntax, Then it happens when it happens in href. The contents of Onclick are treated as javascript by default. E.g.,
javascript: submit (); is not a valid JavaScript.
Comments
Post a Comment