Home

Google Chrome Browser

making the web faster, safer, and easier

Main menu

  • Home
  • Chromebook
  • Chrome OS
  • Android
  • Books
  • Releases
    • Stable
    • Beta channel
    • Dev channel
  • Downloads
  • Videos
    • Top Rated
    • Most Viewed
    • Most Commented
  • Articles
    • Top Rated
    • Most Viewed
    • Most Commented
  • About Us
Home

Add to Technorati Favorites

Subscribe to Google Chrome Browser by e-mail

Delivered by FeedBurner

Syndicate

Syndicate content

User login

Login/Register
What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password

Tag Cloud

Beta updates browser browsers browsing chrome chromebook chrome extensions Chrome OS chromium Dev updates Downloads extensions feed Firefox Google google chrome googlechrome Linux mac News opera release security Stable updates TC video web web browser web browsers windows
more tags

Twitter Updates

Follow us on Twitter @ChromeBrowser


    Onclick Javascript Does Not Work in Google Chrome and Firefox?

    • View
    • Track
    Submitted by admin on Sun, 03/06/2011 - 02:54
    • chrome
    • Firefox
    • Google
    • google chrome
    • ie
    • Internet Explorer
    • javascript
    • opera
    • safari
    • Tips
    • web browser
    • web browsers
    • Web Developing

    Onclick Javascript in Google Chrome and Firefox Does Not Work?If you have found that onclick event does not work on Google Chrome, Firefox and Safari web browsers, then here is quick way to fix it:

    Replace onclick form id with its name

    For example, let’s say you have the following:

    id=”form1″ name=”checkform1″

    Find JS event:

    onclick=”document.form1.cSSld.value=””

    Replace with:

    onclick=”document.checkform1.cSSld.value=””

    All set. It now works with all web browsers.

     

    Your rating: None Average: 1.7 (7 votes)
    • 2648 reads
    • Feed: Web Browsers News and Reviews
    • Original article

    Post new comment

    • Web page addresses and e-mail addresses turn into links automatically.
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
    • Lines and paragraphs break automatically.
    • E-Mail addresses are hidden with reCAPTCHA Mailhide.
    • You may insert videos with [video:URL]

    More information about formatting options

    CAPTCHA
    This question is for testing whether you are a human visitor and to prevent automated spam submissions.

    Google Chrome Browser is a community site for users and developers of the Google Chrome browser.
    Google™ is a Trademark of Google Inc. All other company and product names may be trademarks of the respective companies with which they are associated.
    Google Chrome Browser site is not affiliated with or sponsored by Google Inc.
    Google Chrome Browser site is built on the Drupal open source content management system.