Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
Mac(IE and Safari): onClick does not work
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="tenbellys" data-source="post: 209507"><p>have you checked it in firefox javascript debugger? that thing is like a god to me. </p><p></p><p>but here is how I would do it.</p><p></p><p>[code]</p><p><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN"></p><p><html></p><p></p><p> <head></p><p> <title></title></p><p> </head></p><p> <script type="text/javascript"></p><p> </p><p> function send(){</p><p> alert("hello!");</p><p> }</p><p> </script></p><p> <body></p><p> <a href="javascript:void(0);" onclick="send();return false">hello</a></p><p></p><p> </body></p><p></html></p><p>[/code]</p><p></p><p>and it works in safari.</p></blockquote><p></p>
[QUOTE="tenbellys, post: 209507"] have you checked it in firefox javascript debugger? that thing is like a god to me. but here is how I would do it. [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN"> <html> <head> <title></title> </head> <script type="text/javascript"> function send(){ alert("hello!"); } </script> <body> <a href="javascript:void(0);" onclick="send();return false">hello</a> </body> </html> [/code] and it works in safari. [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
Mac(IE and Safari): onClick does not work
Top