CodeIgniter Forums
How to call codeigniter function on change event of combobox using javascript? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: How to call codeigniter function on change event of combobox using javascript? (/showthread.php?tid=45546)



How to call codeigniter function on change event of combobox using javascript? - El Forum - 09-26-2011

[eluser]Rahul gamit[/eluser]
Hi,
I am having one dropdown box
Code:
<select id="opt_database_name" name="opt_database_name">
<option value="1">database name1 </option>
<option value=2>database name2</option>
</select>

so,whenever the user selects the database name from the combobox,based on the selected database name the list of available table list should be list.

so how can i call function of controller on "change " event of the combobox ??

Thanks in advance.