Your right about the typo above, but it's not like that in my code,
yet it breaks with prototype and not without. I am also finding
problems like, $(Name).focus(), where Name is a variable and the field
Name is an input field in a form, error is object doesn't support
property or method. I"m not sure what's going on with both these, I
can do $(Name).value and it works, but $(Name).focus() breaks, it's
just input type text field???


On Jun 21, 12:31 pm, tobie <[EMAIL PROTECTED]> wrote:
> 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.- Hide quoted text -
>
> - Show quoted text -


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