Safari removed javascript API
In the latest version of Safari (WebKit) they have removed some deprecated javascript API & tags which can cause problems with older code. This is my attempt to keep track of them so I can search through the code and change it to use a newer method.
Here is a list of what works in Firefox 3 or Internet Explorer but not Safari:
Here is a list of what works in Firefox 3 or Internet Explorer but not Safari:
- document.[form name] where [form name] matches the element <form name='[form name]'>
Replacement:Use document.getElementById() instead - document.embeds
Replacement:
Use document.getElementById() instead - Form element's id defaulted to their name
Replacement:
Manually specify the id - <applet> tag
Replacement:
<object> tag
Comments
Post a Comment