I'm sorry for being so thick, but I'm stuck.

Please, can someone view the source of this page...

http://www.eastexhaust.com/jquerytest.html

...and tell me why it is not setting the value of the form element?



ricardobeat wrote:
> 
> 
> $('#myspan').text( $('#partnum').val() );
> http://docs.jquery.com/Attributes
> 
> On Mar 29, 6:07 pm, webguy262 <webguy...@yahoo.com> wrote:
>> I have two forms on a page (www.eastexhaust.com/inventory.php).
>>
>> One uses ajax to generate a part number by selecting values from a series
>> of
>> selection boxes.
>>
>> The other form emails the part number so we can reply with a quote.
>>
>> Everything works fine in FFox, but does not work in IE.
>>
>> Therefore, I have had to make things harder by asking the user to copy
>> and
>> paste their part number into the email form instead of having it entered
>> there automatically.
>>
>> To display the part number to the user, I'm using this in the JS...
>>
>> document.getElementById('myspan').innerHTML = result;
>>
>> ...and this in the html...
>>
>> To get the variable in the email form, I'm using this in the JS...
>>
>> document.getElementById('partnum').value= result;
>>
>> ...and this in the html...
>>
>> <input type="text" name="partnum" id="partnum" readonly>
>>
>> As I said, this works everywhere but not in IE.
>>
>> How can I use Jquery to make it work across the board?
>>
>> Thanks!
>> --
>> View this message in
>> context:http://www.nabble.com/ajax-problem-in-IE-tp22772776s27240p22772776.html
>> Sent from the jQuery General Discussion mailing list archive at
>> Nabble.com.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/ajax-problem-in-IE-tp22772776s27240p23011076.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to