cementedmind / jquery-load-json

Automatically exported from code.google.com/p/jquery-load-json
0 stars 0 forks source link

select option not giving desired result #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. select is not working

What is the expected output? What do you see instead?
i am using "select option", but its not changing the value and keeping the 
default value.

What version of the product are you using? On what operating system?
i am using v1.0

Please provide any additional information below.
i have checked the code and found out, its setting the value using attr(), 
which is not giving desired results in case of select.
So i have changed the case for select as followed - 
case 'select':
     $(element).val(value);
     break;

Original issue reported on code.google.com by manyu.to...@gmail.com on 24 Feb 2015 at 3:27

GoogleCodeExporter commented 8 years ago
my bad.. its working alright. 
i was facing some other issue.

Original comment by manyu.to...@gmail.com on 24 Feb 2015 at 5:11