Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
<script type="text/javascript">
        $("#tech2").change(function () {
        
           
            var cat = $(this).val();
            $.get('@Url.Action("viewemp")?id=' + cat, function (r) {                
                
                $('#div').html(r);
            });

        });

    var cat = $('#tech2').val();    
    if (cat != '') {
  
      
        $.get('@Url.Action("viewemp")?id=' + cat, function (r) {
                    $('#div').html(r);
                });
            }
    
    </script>
Posted
Updated 18-Nov-13 21:53pm
v2
Comments
bbirajdar 19-Nov-13 5:33am    
You can send it to microsoft help center via email.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900