Get Value:
$('#selectList').val();
Get Text:
$('#selectList :selected').text()
Get Multiple Text:
var foo = [];
$('#multiple :selected').each(function(i, selected){
foo[i] = $(selected).text();
});
Showing posts with label JQuery. Show all posts
Showing posts with label JQuery. Show all posts
Wednesday, 9 December 2009
JQUERY: Get select value and text
Tuesday, 11 March 2008
JQUERY: Lightweight Javascript framework to handle super smooth GUI designs
Found and interesting javascript framework that will improve UI design. Framework is called JQUERY, framework allows alot of mundane UI codes to be written quickly with CCS3 compliance and good cross browser compatibility.
http://jquery.com/
http://jquery.com/
Subscribe to:
Posts (Atom)