Just take the element/object you want to mess with and do a for in
loop over it and run it in Mozila and IE and Opera ;)
<form name = "myForm" action = "myAction.cfm">
<input name = "myInut">
</form>
<pre>
<script>
for(n in document.forms[0]){
document.writeln(n + " = " + document.forms[0][n]);
}
</script>
Or might also check out w3cschool.com, and the O'Rielly book is good.
might also be interesting to note XP SP2 doesn't like the above
code...it says it is active content and presents a possbile security
risk...
Adam H
>At 04:53 PM 1/27/2005, you wrote:
> Anyone out there know of a good Javascript resource that isn't
> browser-specific? I used to use the MSDN online Javascript stuff, but
> now that all my stuff has to be cross-browser compatible, I'm looking
>for a better resource.
>
>Thanks,
>Robyn
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:145006
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54