[jQuery] Re: Trouble setting Select object in browsers != IE 7

2008-12-14 Thread raskren
I also wanted to mention that all the IDs on the page I am working on begin with numbers. I do realize that this is against HTML guidelines. Could this be the potential issue? None of my other jQuery script is failing. ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed

[jQuery] Re: Trouble setting Select object in browsers != IE 7

2008-12-14 Thread raskren
Yes, I think the markup is valid. Copy & Pasted below: --None-- Yes No I do not have control over the markup. Is there any other way to make an option "selected" that will work cross-browser? On Dec 14, 9:22 pm, "Jeffrey Kretz" wrote: > There shouldn't be an issue, so long as "existingCase

[jQuery] Trouble setting Select object in browsers != IE 7

2008-12-14 Thread raskren
Hi, I have a form with a few objects in it. Each is given 3 options: "Yes", "No", and "". I am trying to set the 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: $("#00N8002fnHx").val(exist

[jQuery] jQuery selector fails when in FOR loop

2008-12-12 Thread raskren
I have a set of s that are created using jQuery. My script sets an ID for each and appends a counter variable to this ID. For example, defName0, defName1, defName2, etc. Within the same for loop that generates the IDs I would also like to assign a jQuery function to the header. However, it see