[jQuery] Re: Manipulating elements with a click

2008-01-07 Thread Yaz
Hi, Thanks! It worked after I changed this to $(this). Other than that, it was perfect. :) -yaz On Jan 5, 5:43 pm, Hamish Campbell [EMAIL PROTECTED] wrote: Theres lots of ways to do it, eg: $(document).ready(function() { $('ul#content li a').click(function() { // binds

[jQuery] AJAX and dynamically created dropdowns

2007-10-19 Thread Yaz
/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

[jQuery] Re: AJAX problem

2007-10-19 Thread Yaz
I'm not completely sure about this, but I think it doesn't like the http://129.219.208.31/email/email.php; bit. I had to change my file and put it in the same directory as mine. Hope it helps. Maybe someone else can give you a better explanation, and/or prove me right/ wrong. :o) -yaz On Oct 19

[jQuery] Re: AJAX and dynamically created dropdowns

2007-10-19 Thread Yaz
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

[jQuery] Re: AJAX and dynamically created dropdowns

2007-10-19 Thread Yaz
Nop. Just tested and its the same. On Oct 19, 2:15 pm, Chris Jordan [EMAIL PROTECTED] 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] wrote

[jQuery] Re: Accessing dynamically created divs

2007-10-12 Thread Yaz
Oh Thank you all! And yes I can change the php output, I didn't know one method was better than another. :) -yaz On Oct 12, 6:51 am, Wizzud [EMAIL PROTECTED] wrote: If you don't have control over the php then ... $('a[id^=showtxt]').click(function() { var divID = this.id.replace