Re: [WSG] unobtrusive js, document.submit IE

2007-03-12 Thread Gaspar
I thinks this would help, http://www.friendsofed.com/download.html?isbn=1590595335 DOM Scripting he have somes examples it's allowed to download, in chapter 11 on contact.html see the example. And if u buy the book u will learn some good stuff . On 04/03/07, Chris Price [EMAIL PROTECTED]

Re: [WSG] unobtrusive js, document.submit IE

2007-03-12 Thread Chris Price
Gaspar wrote: I thinks this would help, http://www.friendsofed.com/download.html?isbn=1590595335 DOM Scripting he have somes examples it's allowed to download, in chapter 11 on contact.html see the example. And if u buy the book u will learn some good stuff . On 04/03/07, Chris Price [EMAIL

Re: [WSG] unobtrusive js, document.submit IE

2007-03-12 Thread Bob Schwartz
I thinks this would help, http://www.friendsofed.com/download.html?isbn=1590595335 DOM Scripting he have somes examples it's allowed to download, in chapter 11 on contact.html see the example. And if u buy the book u will learn some good stuff . If you (or anyone else reading this) are in or

Re: [WSG] unobtrusive js, document.submit IE

2007-03-05 Thread Kenny Graham
To improve the look of it for the client I have added some javascript which hides the buttons and uses onclick events on the labels so that the submit button doesn't need to be clicked. I've done something somewhat similar recently, and found this was finally an excuse to use the noscript

Re: [WSG] unobtrusive js, document.submit IE

2007-03-05 Thread Chris Price
Kenny Graham wrote: To improve the look of it for the client I have added some javascript which hides the buttons and uses onclick events on the labels so that the submit button doesn't need to be clicked. I've done something somewhat similar recently, and found this was finally an excuse to

Re: [WSG] unobtrusive js, document.submit IE

2007-03-05 Thread James Denholm-Price
Hi Chris, Perhaps your question is more suited to a JS/DOM list/blog (e.g. evolt.orgor others [1]) than WSG? More JS-type guys there, but I'll give it a go: An example page would be helpful (I've mocked-up a quickie at [2])... but I wonder if the probem is your assumed DOM structure? On

Re: [WSG] unobtrusive js, document.submit IE

2007-03-05 Thread Chris Price
James Denholm-Price wrote: inputs[i].style.display = 'none' hides the input element but the next line: inputs[i].onclick = function() { submitform(); return false } attaches an onclick event handler to the (now hidden) element -- it's possible that IE does not honour the label relationship

[WSG] unobtrusive js, document.submit IE

2007-03-04 Thread Chris Price
I have built a standard form with a list of options using radio buttons. The form is for internal use only but I still want to maintain standards and accessibility. To improve the look of it for the client I have added some javascript which hides the buttons and uses onclick events on the