Jump to content


Photo

java script in firefox


  • Please log in to reply
2 replies to this topic

#1 hvle

hvle
  • Members
  • PipPipPip
  • Advanced Member
  • 667 posts
  • Locationmelbourne, Australia

Posted 11 June 2006 - 05:36 AM

hi everyone,

My javascript working fine in IE. I just use Firefox to view the page, and it does not working at all. The java script console in FF giving bunch of undefine error. Those are function name that is error.

I have absolutely no clue what's wrong. I don't know where to start to debug.
Any clue?
Life's too short for arguing.

#2 michaellunsford

michaellunsford
  • Members
  • PipPipPip
  • Advanced Member
  • 1,023 posts
  • LocationLouisiana, USA

Posted 27 June 2006 - 11:58 PM

I find that firefox is very case sensitive. I've also found using getElementById to be very useful.

Without seeing the exact code and error messages, though, it's hard to say what the problem is.

#3 flyclassic

flyclassic
  • Members
  • PipPip
  • Member
  • 11 posts

Posted 28 June 2006 - 03:18 PM

yeah, firefox is very case sensitive. for eg. if your form name = form1
and input box name is input1,

and if u are passing values to it, the "document" is important for firefox but in IE, it doesn't matter

document.form1.input1.values = "test"




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users