smartcode
Pages
Home
.Net
CSharp
CSS
Android
JavaScript
MySql
PHP
Phonegap
Tuesday, November 18, 2014
Get Jquery mobile dropdown selected Item in Phonegap
I want to get the jquery mobile dropdown selected value and selected text.
this script get the selected text value in phonegap.
$(
"#yourdropdown option:selected"
).text();
this script get the dropdown selected value in phonegap.
$(
"#yourdropdown"
).val();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment