Yaz, View Source will never show you dynamically generated content. Download the FireFox extension: View Source Chart<https://addons.mozilla.org/en-US/firefox/addon/655>. It's quite handy, and shows you dynamically generated content. It's often helped me to figure out problems where I really need to know what the generated markup looks like.
Cheers, Chris On 10/19/07, Yaz <[EMAIL PROTECTED]> wrote: > > > With the select plugin I get the same results. > Added the form tag. Still no results. > > Btw, I noticed that even though in Firefox the dropdown does get > populated, at view source there is no list of schools.... > > Thanks for the suggestion guys. > > -yaz > > On Oct 19, 2:31 pm, Jack Killpatrick <[EMAIL PROTECTED]> wrote: > > FWIW, I've never had any problems with id and name being the same on > > controls in IE. I don't see a <form> tag on the page, maybe that's the > > issue? > > > > You might also want to try this: > > > > http://www.texotela.co.uk/code/jquery/select/ > > > > - Jack > > > > Chris Jordan wrote: > > > Could it be because you're name and id are identical? > > > > > <select name="SchoolID" id="SchoolID"> > > > </select> > > > > > Perhaps IE doesn't like this? > > > > > Just a guess. > > > > > Chris > > > > > On 10/19/07, *Yaz* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > wrote: > > > > > Hello everyone, > > > > > I have a script that basically just reads some data from an xml > file, > > > then the data gets loaded into a <select> dropdown, by dynamically > > > creating <option> tags. > > > > > Here's the working sample: > > > http://yazmedia.com/sandbox/ > > > > > View source for the code. XML: > http://yazmedia.com/sandbox/data.html > > > > > It works fine in Firefox, but in IE 7 or 6 it doesn't. I tried > > > using a > > > function "addOption()" that I found online, to see if at least I > was > > > doing something wrong in my code, but still neither option works. > > > > > Anything that could shed a little light into this would be much > > > appreciated. > > > > > -yaz > > > > > -- > > >http://cjordan.us > > -- http://cjordan.us