Hy Steen I totally agree with you.
And I did not know the CSS display:none will break the submit. Good to know! THX. cheers tl On Jun 27, 11:35 am, Steen Nielsen <[EMAIL PROTECTED]> wrote: > A lot of browsers support usage without JS and CSS. Especially mobile > devices or screenreaders have very bad JavaScript support, and > screenreaders "read" the content of the page as it's shown without > CSS. > > Even though we can argue for a long time whether or not it's a good > idea to only support clients that have JS and CSS activated, it's all > beside the point. > My point was that if you have a <form> around your input fields, then > it's easier to actually insert the submit button and through > stylesheet, move it outside the viewable scope. > > You can't really use display: none; on the submit button. For some > browsers it will remove the action of the button, so you are back to > square one.. :) > > Oh, and lastly, why invent new things, when existing ones do exactly > what is requested :) > > On Jun 26, 12:25 pm, tlob <[EMAIL PROTECTED]> wrote: > > > A page is read without css? Hmmm I think that is really really really > > rare.... Even more rare than a browser without js turned on. Thats > > only really really rare ;-) > > > Or what do you mean? > > > instead of moving it away, why not css display:none;? Does this brake > > the submit? > > cheers > > tl > > > On Jun 26, 10:22 am, Steen Nielsen <[EMAIL PROTECTED]> wrote: > > > > You need to insert a submit button in the form to get it working.. > > > <input type="submit"> > > > > if you don't want to show the button you can always hide it using CSS. > > > I usually just positioning it -9000px to the left, that way it won't > > > show up, but if the page is read without CSS, it will be shown > > > correctly with a submit button > > > > On Jun 26, 6:20 am, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > > I have a form, with id="myForm", with a number of text fields (input > > > > with type="text"). How do I cause a form submission by pressing enter > > > > in any of those form fields? > > > > > Thanks, - Dave