Can't get a SELECT box to pre-fill in jQuery mobile?
Hi,
I'm trying to get a VERY basic SELECT box to pre-fill based on a saved value in my page.
- <select name="Language" id="Language">
- <option value="english">english</option>
- <option value="french">french</option>
- </select>
Trying to set it using:
- $("#Language").val("french");
For some reason its doesn't wanna work (yet its working fine in a JSFiddle: http://jsfiddle.net/youradds/rXvAL/ )
Anyone got any suggestions? I've tried literally everything (filter(), name=xx value=xxx)
TIA
Andy