From: Thomas 'PointedEars' Lahn on
Matt Kruse wrote:

> Thomas 'PointedEars' Lahn wrote:
>> > I'm not building this for idiots!
>> ISTM you are not building this for people who do DOM scripting either.
>> <form>...<input name="foo[]">...</form>
>
> This already works fine:
>
> $prop(document, "forms[0].foo[].value")
>
> for example.

You miss the point.


PointedEars
--
Use any version of Microsoft Frontpage to create your site.
(This won't prevent people from viewing your source, but no one
will want to steal it.)
-- from <http://www.vortex-webdesign.com/help/hidesource.htm> (404-comp.)
From: Matt Kruse on
On May 12, 7:20 am, Thomas 'PointedEars' Lahn <PointedE...(a)web.de>
wrote:
> No, by contrast you will not be able to handle property names that contain
> `|'.

Umm, then you just pick a different delimiter that doesn't conflict
with your property names. Duh.

Matt Kruse
From: Matt Kruse on
On May 12, 7:21 am, Thomas 'PointedEars' Lahn <PointedE...(a)web.de>
wrote:
> Matt Kruse wrote:
> > Thomas 'PointedEars' Lahn wrote:
> >> > I'm not building this for idiots!
> >> ISTM you are not building this for people who do DOM scripting either.
> >> <form>...<input name="foo[]">...</form>
> > This already works fine:
> > $prop(document, "forms[0].foo[].value")
> > for example.
> You miss the point.

On the contrary, you fail to make one.

Matt Kruse
From: David Mark on
Matt Kruse wrote:
> On May 12, 7:20 am, Thomas 'PointedEars' Lahn <PointedE...(a)web.de>
> wrote:
>> No, by contrast you will not be able to handle property names that contain
>> `|'.
>
> Umm, then you just pick a different delimiter that doesn't conflict
> with your property names. Duh.
>

And you still can't see why you are making a colossal design mistake?
Don't parse strings. Pass multiple arguments or an array of strings.
There you go.
From: David Mark on
Matt Kruse wrote:
> On May 12, 7:21 am, Thomas 'PointedEars' Lahn <PointedE...(a)web.de>
> wrote:
>> Matt Kruse wrote:
>>> Thomas 'PointedEars' Lahn wrote:
>>>>> I'm not building this for idiots!
>>>> ISTM you are not building this for people who do DOM scripting either.
>>>> <form>...<input name="foo[]">...</form>
>>> This already works fine:
>>> $prop(document, "forms[0].foo[].value")
>>> for example.
>> You miss the point.
>
> On the contrary, you fail to make one.
>

No, as usual, you waste endless amounts of time "debating" when you
could be working. How do you ever get anything done?