There's a mistake in the above example, maybe that's where your issue
comes from.

Try: document.main[name].value // i.e. remove the fot before [

On Jun 21, 11:36 am, sed <[EMAIL PROTECTED]> wrote:
> Does anyone have any info on using prototype, but also having script
> with bracket notation?
>
> like document.main.[name].value. This seems to no longer work with
> prototype included.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to