ir a principal | Ir a lateral

PHP, Javascript, Css, Ajax, etc.

I want to change the world but they won't give me the source code.

  • Home
  • Posts RSS
  • Comments RSS
  • Edit

Javascript onclick return false does not work in IE6, IE7

Workaroud:

Instead of:

onclick="yourFunction(); return false;"

Use this:

onclick="yourFunction(); event.returnValue=false; return false;"
Labels: javascript

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)
  • Ad
  • Ad
  • Ad
  • Ad

Tags

  • css (5)
  • Excel (1)
  • Flash (1)
  • General Info (3)
  • javascript (6)
  • more (8)
  • MySQL (1)
  • pdf (1)
  • Photoshop (1)
  • PHP (22)

Archive

  • ▼  2009 (29)
    • ►  May (1)
    • ►  March (14)
    • ▼  February (11)
      • Javascript onclick return false does not work in I...
      • Coffeeandpase Blogger: A Heavy Downloader
      • Where is php.ini?
      • Make a face
      • Turn your photo into a cartoon
      • Retrieving Japanese Text from MySQL using PHP
      • CSS Play: Experiments with CSS
      • New Online MD5 Hash Cracker!
      • PNG Alpha Transparency Fix in IE
      • Validate email address using Javascript
      • PHPMailer: SMTP Authentication
    • ►  January (3)
  • ►  2008 (9)
    • ►  December (6)
    • ►  November (3)

Subscribe to RSS

If you enjoyed the post, make sure you subscribe to the RSS feed.

Posts
Comments

Copyright © 2008 PHP, Javascript, Css, Ajax, etc.
Design by woo themes | Templates Blogger by BTemplates