Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Safari JavaScript bug can affect counting page elements Web Browsers

I discovered a nasty bug in Safari's javascript engine. Apparently, Safari treats the javascript 'length' property (used for counting input elements on a form) as a variable, and does not reset its value. It's a bit difficult to describe the problem, so I've created an example page to demonstrate the issue. Open the page in Safari and Mozilla or Netscape to view the differences.

Also on the page is another problem with Safari -- the order in which key-press events are handled. For this problem, I've placed an example –and- a solution on the page.

I hope this is helpful.

[robg adds: This bug is also present in Safari 1.1 on Panther...]

    •    
  • Currently 2.40 / 5
  You rated: 1 / 5 (5 votes cast)
 
[4,384 views]  

Safari JavaScript bug can affect counting page elements | 1 comments | Create New Account
Click here to return to the 'Safari JavaScript bug can affect counting page elements' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Safari JavaScript bug can affect counting page elements
Authored by: deggy on Oct 28, '03 01:12:57PM

Counts different in camino but works correctly in IE



[ Reply to This | # ]