This is a discussion on "[SOLVED] Simple form submission question" within the JavaScript Forum section. This forum, and the thread "[SOLVED] Simple form submission question are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Simple form submission question
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Hi,
I have what I think should be a simple question. I'm trying to submit form details to a javascript function using onclick. The trouble I'm having is because the form is dynamically generated using php I do not know the names of the form fields or how many there will be. So... what can I use to say "pass all the form fields to the function" eg. onclick="callfunction(myform.allfields_and_values) " Any help would be appreciated, spent quite a lot of time searching Google for the answer. Thanks |
|
#2
|
||||
|
||||
|
Re: Simple form submission question
You could use
Cheers
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
#3
|
|||
|
|||
|
Re: Simple form submission question
Thanks
That was exactly what I was after, cheers |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Simple Question: Why does Font Style change on Web Page in different Browse | BlackReef | Web Page Design | 11 | Dec 7th, 2007 10:39 |
| Form Submission page | markusdavid | Web Page Design | 3 | Sep 8th, 2007 01:50 |
| Simple form elements question! | jtotheb | PHP Forum | 3 | Jul 18th, 2007 15:54 |
| form submission with Javascript | ktsirig | JavaScript Forum | 1 | Dec 18th, 2006 22:16 |