Solarpitch Posted December 23, 2006 Share Posted December 23, 2006 Hey Guys,not sure if this should go in the PHP section of the forum but I'am wondering if someone could help me with this. Basically if you take a look at the image below I have a "sort table by" box which will arrange the table by price, make . . etcHow do I do it so that the table is arranged when the user selects something from the list? I can do it with a submit button fine, but I want the event to happen when the user selects the option.Is it a onClick or onChange behaviour or something?[url=http://img2.freeimagehosting.net/image.php?a59880a279.gif][img]http://img2.freeimagehosting.net/uploads/th.a59880a279.gif[/img][/url] Link to comment https://forums.phpfreaks.com/topic/31693-sorting-a-table-by-a-selected-list-box-option/ Share on other sites More sharing options...
chiprivers Posted December 23, 2006 Share Posted December 23, 2006 onChange="document.form.submit();" Link to comment https://forums.phpfreaks.com/topic/31693-sorting-a-table-by-a-selected-list-box-option/#findComment-146903 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.