[Rails-spinoffs] Event.observe

Jeremy Kitchen kitchen at scriptkitchen.com
Thu Jul 6 16:41:12 GMT 2006


On Wednesday 28 June 2006 13:00, Keith Davis wrote:
> I figured out what the problem is. I thought JavaScript watched the ID
> not the name. 

err... well

document.getElementById() on any *sane* browser uses the ID attribute.

on IE, it uses the name as well.  Go figure.

2 + 2 = 5 for very long values of 2!

-Jeremy

-- 
Jeremy Kitchen ++ kitchen at scriptkitchen.com

http://www.pirate-party.us/ -- defend your rights
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20060706/3809f33f/attachment.bin


More information about the Rails-spinoffs mailing list