Safari JavaScript problem demo

D

derek

Safari's JavaScript handling is novel to say the least.

The link below is to an example which demonstrates a specific problem. If
on a form you have onClick events attached to form fields like radio
buttons and checkboxes, you cannot use a JS script to make a field checked
and trigger its onClick event as Safari doesn't appear to support the
myfield.click() method. myfield.checked=true is supported but doesn't
cascade into the onClick routine.

The page below works as designed in IE and Mozilla on both Mac and Windows
but not Safari.

http://www.demographix.com/_dev/safari/clickcheck.htm

Derek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,008
Latest member
HaroldDark

Latest Threads

Top