Select First Option of Select-Box Using Jquery

Tapovan
This is a simple script to select first option of a select-box using jquery
$('button').click(function(){
    $("#CardCountry").val($("#CardCountry option:first").val());    
    });

Last updated: August 01, 2014
an "open and free" initiative. Powered by Blogger.