Re: [whatwg] Detecting Web Forms for future proof scripts?

2008-10-23 Thread Ian Hickson
On Mon, 2 Oct 2006, Ric Hardacre wrote: [scriplets] need to check that they're running on a compatible scripting engine, just checking for the existence of document.getElementById is the simple way (If there are better ways then I'm always open to learning). But I'm presented with an

[whatwg] Detecting Web Forms for future proof scripts?

2006-10-02 Thread Ric Hardacre
I'm attempting to write Javascript scriptlets to emulate some of the Web Forms 2.0 spec in HTML 4 documents. Firstly, they obviously need to degrade for non-scripting UAs, which is easy enough. Secondly they need to check that they're running on a compatible scripting engine, just checking for the

Re: [whatwg] Detecting Web Forms for future proof scripts?

2006-10-02 Thread Shawn Wilsher
Ric, Hopefully, you aren't duplicating work that has already been done here: https://sourceforge.net/projects/wf2/ Granted, this is only for IE, but nearly half of your work is already done then. Cheers, Shawn On 10/2/06, Ric Hardacre [EMAIL PROTECTED] wrote: I'm attempting to write

Re: [whatwg] Detecting Web Forms for future proof scripts?

2006-10-02 Thread Shawn Wilsher
This project appears to be dead for over a year now. It seems to have at least intention to support Gecko, but I couldn't get it to work properly in Firefox. Just because the project appears to be dead doesn't mean you should just disregard all the work that has been done with it before. It's

Re: [whatwg] Detecting Web Forms for future proof scripts?

2006-10-02 Thread Kornel Lesinski
On Mon, 02 Oct 2006 17:00:02 +0100, Shawn Wilsher [EMAIL PROTECTED] wrote: Hopefully, you aren't duplicating work that has already been done here: https://sourceforge.net/projects/wf2/ Granted, this is only for IE, but nearly half of your work is already done then. This project appears

Re: [whatwg] Detecting Web Forms for future proof scripts?

2006-10-02 Thread Kornel Lesinski
On Mon, 02 Oct 2006 17:37:28 +0100, Shawn Wilsher [EMAIL PROTECTED] wrote: This project appears to be dead for over a year now. It seems to have at least intention to support Gecko, but I couldn't get it to work properly in Firefox. Just because the project appears to be dead doesn't mean

Re: [whatwg] Detecting Web Forms for future proof scripts?

2006-10-02 Thread Dean Edwards
Kornel Lesinski wrote: On Mon, 02 Oct 2006 17:37:28 +0100, Shawn Wilsher [EMAIL PROTECTED] wrote: This project appears to be dead for over a year now. It seems to have at least intention to support Gecko, but I couldn't get it to work properly in Firefox. Just because the project appears to

Re: [whatwg] Detecting Web Forms for future proof scripts?

2006-10-02 Thread Hallvord R M Steen
[Sorry Ric, re-sending to include the list] On 02/10/06, Ric Hardacre [EMAIL PROTECTED] wrote: suppose for example I wanted to emulate the datalist element for a text box. I can use the DOM and some on-the fly CSS to build a Javascript emulated datalist, but how would one go about ensuring