There shouldn't be an issue, so long as "existingCase.records.Spin_Off__c"
has a correct value.

Do your option elements have explicitly defined values?  Like this:

<option value="Yes">Yes</option>
<option value="No">No</option>
<option value="">&nbsp;</option>

If not, try changing your markup and see if that helps.

JK
-----Original Message-----
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of raskren
Sent: Sunday, December 14, 2008 6:05 PM
To: jQuery (English)
Subject: [jQuery] Trouble setting Select object in browsers != IE 7


Hi,

I have a form with a few <select> objects in it.  Each <select> is
given 3 options: "Yes", "No", and "".

I am trying to set the <select> value using jQuery but running into
trouble in Firefox 3.0.4 and Safari 3 - both in Windows.  My code does
seem to run properly in IE7.

Some code:
$("#00N80000002fnHx").val(existingCase.records.Spin_Off__c);

Is this a known issue in these browsers?  Am I doing anything
obviously wrong?

Reply via email to