[RESOLVED] Submit form
Hi, żIt's possible to submit a form when a listbox change?
I have tried this but does not work
<form id="form1" name="form1" method="post" action="untitled.php">
<label for="milista"></label>
<select name="milista" size="1" id="milista" onchange="submit">
thanks
SOlution: document.forms[0].submit();
Well, that's really a HTML/JavaScript question, but yes, it is possible. The onchange event would be something like:
HTML Code:
<select name="milista" size="1" id="milista" onchange="this.form.submit();" >
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in
Nation
eBookworm.us
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Bookmarks