on select box change reload same page.


   <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>                    <script src="js/jquery-1.7.2.min.js" type="text/javascript"></script>                    <script type="text/javascript">$(document).ready(function() {    $("#currency").change(function() { var id = $(this).val();        $.ajax({            url: 'current.jsp',            type: 'POST',            data:{'id':$(this).val()},            success: function(data)            {        location.reload();             }        });    });});</script>






 <select name="currency" style="height:20px;font-size:9px;margin:-7px -2px -13px 5px;
  padding:3px 12px 2px 17px;" id="currency">
            <option value="">Select Currency</option>


  1. Check this for live test-Namaskarstore.
  2. This site is based on php but we can also do this with java.

Popular posts from this blog

Simple Sign up design. Android.

Cart page design in android.

Set Date on jDateChooser and retrieve record from database.