this.form.submit()
Can i put something as a parameter?
Like:
this.form.submit(name=sam)
OR
this.form.submit(name='K';value='S')
Or is there any other way to make a FORM POST without using any form objects.
Javascript
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
first off, this was in the wrong forum.
this.form is a form object. You can ask Javascript to create new form elements, however you still require a form. Javascript can create these too, I believe. However it's quite simple to create a form that uses hidden inputs, so that's the direction most often taken.
this.form is a form object. You can ask Javascript to create new form elements, however you still require a form. Javascript can create these too, I believe. However it's quite simple to create a form that uses hidden inputs, so that's the direction most often taken.