![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
----------------------------------------------------------------------- FAQ Topic - I have <a href="javascript:somefunction()"> what ... ? ----------------------------------------------------------------------- Whatever the rest of your question, this is generally a very bad use of the javascript pseudo protocol. It was designed so that a function could return a new document. For example: ` javascript:"<p>Hello</p>" `. Using it simply to call a function when a link is clicked causes an error in user agents that do not support javascript, or have javascript disabled. |
![]() |
| Thread Tools | |
| Display Modes | |
| |