This is a migrated thread and some comments may be shown as answers.

Using jQuery to get RadComboBox value

1 Answer 470 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 24 Jul 2009, 02:50 PM
How can I use jQuery to call methods on a RadComboBox?

For example, the following code works fine
var dropFind = $find("<%= RadComboBox1.ClientID %>"); 
var valueFind = dropFind.get_value(); 
 

but the following throws the error "Object doesn't support this property or method" when calling dropJQ.get_value()
var dropJQ = $('#' + "<%= RadComboBox1.ClientID %>"); 
var valueJQ = dropJQ.get_value(); 
 

Any Ideas?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 24 Jul 2009, 02:52 PM
Hello Richard,

Only the first syntax is supported. The second returns a jQuery object which of course does not have a get_value() method.

Kind regards,
Albert
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
ComboBox
Asked by
Richard
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or