related to <select><option>

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dex patel
    New Member
    • Feb 2012
    • 1

    #1

    related to <select><option>

    how to perfomed action when select diffrent option on select tool in php?
    Code:
    <select class="input-short">
                        	<option value="1" selected="selected">Select filter</option>
                            <option value="2">Aseding order</option>
                            <option value="3">Created last month</option>
                            <option value="4">Edited last week</option>
                            <option value="5">Edited last month</option>
                        </select>
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    What kind of action? If it's a client side action you can call a javascript on the onchange property of the select

    [CODE=php]<select class="input-short" onchange="theAc tionFunction()" />[/CODE]

    Comment

    Working...