Hi,

Dunno if this is just a typo in your mail, but

  document.main.[name].value

won't work anyway, you'd need

  document.main[name].value

i.e. no dot before the bracket. Prototype doesn't do anything to affect the 
syntax of the core language, nor could any piece of Javascript, as far as I'm 
aware.

HTH,

Dave

On Thursday 21 June 2007 16:36, sed 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.
>
>
> 
-- 
Author: Prototype & Scriptaculous in Action, Ajax in Practice, Ajax in Action 

--~--~---------~--~----~------------~-------~--~----~
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