Dynamically updating selectlist using Jquery and Ajax

In many web site we have seen that on selecting country, state or city list is updated. In this article i am showing how to update children select list on changing parent list. To do this i am using jquery and ruby on rails.although it will works for almost all languages For this article, I am updating city list on changing states. So one state has many cities,and city belongs to state. and city_list.xxx gives following html on processing state

Continue Reading

Select/Deselect Multiple CheckBox Using Jquery

In many website we have seen that on checked or unchecked one box all the check box are checked or unchecked. Now in this article i am showing how to checked unchecked all the check box In this setting checked attribute true/false alternatively by clicking on select/deselect for alternate removing and adding class not_checked depending upon that we are setting true and false

Continue Reading

How to include another html page into existing html page using jquery

We can include another html page using jquery load method example is as shown below <html xmlns="http://www.w3.org/1999/xhtml">    <head>       <title>Loading an Html page</title>      <script src="jquery.js" type="text/javascript"></script>     $(document).ready(function() {         $('#loadpage').load('load.html or any server side page');     }); </head> <body>    <div id="loadpage" ></div> </body> </html>

Continue Reading

Site Footer