dependable dropdown in codeigniter |
how to build dependable dropdown using codigniter.
can we us ajax for this . any one please help me
Practice | Practice | Practice
CI doesn't have functions for hiding or displaying elements dynamically after the page is loaded. That's something you need Javascript for.
If you want the selected value to make CI do something (server sided), then you need AJAX. Jquery is a very easy and efficient way for basic Javascript functions as well as advanced AJAX requests. Include a link to the Jquery framework in the head section of your page (or template). In your view file, after the closing php tag, you put the jquery script, like this: PHP Code: <?php (08-07-2015, 10:58 PM)Midhun Mohanan P Wrote: how to build dependable dropdown using codigniter. Using the form helper has a built in function http://www.codeigniter.com/user_guide/he...m_dropdown |
Welcome Guest, Not a member yet? Register Sign In |