Jump to content

Browser Variations


DarkElite

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 comment
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 comment
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 comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...