Search found 3 matches

Go to advanced search

by John Cook
Tue Mar 18, 2014 4:25 am
Forum: Issues
Topic: How to Update default (selected) value in list via jquery or javascript?
Replies: 4
Views: 1150
 
Jump to post

How to Update default (selected) value in list via jquery or javascript?

you're the man igor. It works : ; Appery("desired_salary_select").val("Between 50000 and 75000").trigger("change"); Note i also tried - $('div[dsid="desired_salary_select"]').val("Between 50000 and 75000").trigger("change"); but that didnt ...
by John Cook
Tue Mar 18, 2014 12:14 am
Forum: Issues
Topic: How to Update default (selected) value in list via jquery or javascript?
Replies: 4
Views: 1150
 
Jump to post

How to Update default (selected) value in list via jquery or javascript?

The code i tried is - $('desired_salary_select option:contains("Between 75000 and 125000")').attr("selected",true);

where desired_salary_select is the name of my list UI component and "Between 75000 and 125000" is one of the options.

by John Cook
Tue Mar 18, 2014 12:13 am
Forum: Issues
Topic: How to Update default (selected) value in list via jquery or javascript?
Replies: 4
Views: 1150
 
Jump to post

How to Update default (selected) value in list via jquery or javascript?

I want to set or update the the default selection of a LIST component via javascript. How can i achieve this w/ appery? tried this $('select option:contains("it\'s me")').prop('selected',true); but i think something is wrong w/ my syntax in appery? http://stackoverflow.com/questions/47...

Go to advanced search