HA! I didn't even notice that i'd not escaped my apostrophe!


On Mon, Jun 29, 2009 at 11:27 PM, T.J. Crowder <t...@crowdersoftware.com>wrote:

>
> Hi,
>
> FWIW, if the name of the additional property is static, then
>
>    vparams['your_additional_property'] = 'additional property\'s
> value';
>
> can be written:
>
>    vparams.your_additional_property = 'additional property\'s value';
>
> You only need the bracketed notation giving the property name as a
> string if you need to create the string at runtime or if the property
> name is a reserved word (although it works, of course, even if you're
> giving a literal string).
>
> FWIW,
> --
> T.J. Crowder
> tj / crowder software / com
> Independent Software Engineer, consulting services available
>
>
> On Jun 30, 1:54 am, "Miguel Beltran R." <yourpa...@gmail.com> wrote:
> > 2009/6/29 Rick Waldron <waldron.r...@gmail.com>
> >
> > > After the switch, add this:
> >
> > > vparams['your_additional_property'] = 'additional property's value';
> >
> > > I hope this is what you mean...
> >
> > Thanks, this help me
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to