Subversion Repositories SmartDukaan

Rev

Rev 19750 | Rev 19815 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19750 Rev 19808
Line 1... Line 1...
1
<script>
1
<script>
2
$(document).ready(function(){
2
$(document).ready(function(){
3
	 $('#RetailerPin').keyup(function(){
3
	 $('#RetailerPin').keyup(function(){
4
         var pin_val = $(this).val();
4
         var pin_val = $(this).val();
5
         if(pin_val.length == 6){
5
         if(pin_val.length == 6){
6
             console.log("Hello");
-
 
7
             $.ajax({
6
             $.ajax({
8
                 method: "GET",
7
                 method: "GET",
9
                 url:  "<?php echo $base_url;?>shippings/getstate/"+pin_val,
8
                 url:  "<?php echo $base_url;?>shippings/getstate/"+pin_val,
10
             },'json')
9
             },'json')
11
             .done(function(msg){ 
10
             .done(function(msg){