Re: Making validation javascript more extensible

2005-04-13 Thread David Graham
--- "Frank W. Zammetti" <[EMAIL PROTECTED]> wrote: > How about rendering the span that you'll place the error message in as > part of what the tag renders? So... > > > > ...renders... > > > > ...then you can simply do as David I think it was suggested in terms of > setting innerHTML (or inn

Re: Making validation javascript more extensible

2005-04-13 Thread Joe Germuska
At 2:48 AM +0100 4/13/05, Niall Pemberton wrote: - Original Message - From: "David Graham" <[EMAIL PROTECTED]> Sent: Wednesday, April 13, 2005 2:08 AM --- Niall Pemberton <[EMAIL PROTECTED]> wrote: > - Original Message - > From: "Joe Germuska" <[EMAIL PROTECTED]> > Sent: Tuesda

Re: Making validation javascript more extensible

2005-04-13 Thread Niall Pemberton
I developed an initial version back in December which can be downloaded here: http://www.niallp.pwp.blueyonder.co.uk/validatorjs.html The download includes a webapp which shows both the features and code. Niall - Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> Sent: Wednesday

Re: Making validation javascript more extensible

2005-04-13 Thread Ted Husted
On 4/12/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > Its "in-progress" - except I haven't given it any time so far this year :-(. > I am planning to re-visit it, as it has stuff I want to implement. Is the WIP anything you could check into the sandbox, so people could have a looksee? -Ted. -

Re: Making validation javascript more extensible

2005-04-12 Thread Frank W. Zammetti
How about rendering the span that you'll place the error message in as part of what the tag renders? So... ...renders... ...then you can simply do as David I think it was suggested in terms of setting innerHTML (or innerText... I seem to remember innerHTML not actually being DOM-compliant?)

Re: Making validation javascript more extensible

2005-04-12 Thread Niall Pemberton
- Original Message - From: "David Graham" <[EMAIL PROTECTED]> Sent: Wednesday, April 13, 2005 2:08 AM > > --- Niall Pemberton <[EMAIL PROTECTED]> wrote: > > - Original Message - > > From: "Joe Germuska" <[EMAIL PROTECTED]> > > Sent: Tuesday, April 12, 2005 8:54 PM > > > > > > >

Re: Making validation javascript more extensible

2005-04-12 Thread David Graham
--- Niall Pemberton <[EMAIL PROTECTED]> wrote: > - Original Message - > From: "Joe Germuska" <[EMAIL PROTECTED]> > Sent: Tuesday, April 12, 2005 8:54 PM > > > > This page http://www.quirksmode.org/index.html?/dom/error.html > > demonstrates a more graceful way of alerting users to error

Re: Making validation javascript more extensible

2005-04-12 Thread Niall Pemberton
- Original Message - From: "Joe Germuska" <[EMAIL PROTECTED]> Sent: Tuesday, April 12, 2005 8:54 PM > This page http://www.quirksmode.org/index.html?/dom/error.html > demonstrates a more graceful way of alerting users to errors in their > form than an "alert" window. (In case you don't