Jump to content

Browser Variations


Recommended Posts

Notably a hastle to deal with...I've found that the onClick parameter of any tag in HTML doesn't work in FireFox (specifically its use to initiate a JavaScript function). I'm simply wondering if there is a way to work around my necessity to use this paramenter or a way to get it to work across all browsers... :)

Link to post
Share on other sites

The most common reason is that "onClick" is NOT the proper syntax for any Javascript event attribute. The proper method is to simply have it in all lowercase, as with many other coding languages including Actionscript.Try using all lowercase for the attributes, and see if that works.

Link to post
Share on other sites

The "onclick" is being used as a parameter in an HTML tag (TD), not as an object being referrenced in JS.And I had also tried playing around with the cases of the letters and nothing changed in FF.Funny thing is I've also got onmouseover and out events running, which work fine, but the browser doesn't seem to be accepting any of the onclick events for any of the tags.I suppose the code itself would be best to look at... I'll put it up later today for examination.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...