Prev: FAQ Topic - How can I access the client-side filesystem? (2010-05-11)
Next: apparently wrong function.
From: Thomas 'PointedEars' Lahn on 12 May 2010 08:21 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 12 May 2010 09:26 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 12 May 2010 09:26 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 12 May 2010 09:38 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 12 May 2010 09:39
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? |