I have selection like <select> <option value="" selected='nil'></option> <option id="conv" >シフト表CSV出力l</option> <option value="template_of_roster1.xml" id="tmp1">template_of_roster1.xml</option> <option value="template_of_roster2.xml" id="tmp2">template_of_roster2.xml</option> <option value="template_of_roster3.xml" id="tmp3">template_of_roster3.xml</option> <input type="button" value="Converter"/> and also one button.
I want to write a condition like if I choose option id==tmp1 when I click the button,want to run converter if I choose option id ==conv when I click the button,want to run demand_csv
I have one question more about button, is it possible to run two method in onclick event? like when I click button can I run converter also saving.?
thanks for any help