nothing fails if done correctly... ;)
I prefer ajax.

On Sep 27, 8:24 pm, Garrett Smith <[email protected]> wrote:
> On 9/26/11, Oras Al-Kubaisi <[email protected]> wrote:> Hi,
> > I'm trying to check form elements using javascript before submitting
> > the form, so if there is any empty field, it will fire an alert, else
> > it will submit. Checking is working fine, my only problem is when I
> > try to submit the form document.getElementById(formName).submit() it
> > shows the next page without Toolbar!
>
> Don't use javascript to submit forms. Just use the submit button. Never fails.
> --
> Garrett

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to