Jquery Get Select option Box Value

Getting select box value in JQuery



$('#selectboxid').val()


Get Select box value on change event
$('#selectboxid').change(function(){
alert($(this).val());
});


get selected text in select box

$('#selectbox').change(function(){
alert($('#selectbox :selected').text());
});


Related Topic How to Install Anti-virus ClamAV
How to Handle Firewall Firestarter Incoming and Outgoing Traffic Policies
How to Backing-Up and Restoring Desktop Datas in linux Machine
Disabling Text selection
List of Mysql Error Code and Description

nScraps.com 2011   Privacy Policy  Terms of Service  Feedback