Post the portion of code where you DO call this since, as you say it
seems to NOT have been called, or, try putting an alert just before
that call as you do here...for the poor person's debug effort :)

On Mar 18, 2:49 am, Matt <mattjb...@gmail.com> wrote:
> Hi all,
> I've spent a long time trying to figure out why my code to pull
> elements out of an XML file isn't working, to no avail. Here's the
> code snippet I'm using, given an XMLHttpRequest named responseXML
> which seems to be in fine shape (inspected using Safari 4 beta's
> "Inspect Element" feature):
>
> function extractBifData(responseXML, vorticityClass,
> vorticityStrength)
> {
>         var bifData = [];
>         $(responseXML).find('wave').each(function () // WTF
>         {
>                 var wave = $(this);
>                 var A = wave.attr('A');
>                 alert('entered the function'); // for simple debugging
>                 bifData.push([parseFloat(wave.attr('Q')), parseFloat(wave.attr
> ('amplitude'))]);
>         });
>                 return bifData;
>
> }
>
> When this function gets called, it looks like the anonymous function
> (with the "WTF" comment) isn't even getting called (ever) since I
> never see an alert.
> You can see the entire preliminary page over 
> athttp://math.brown.edu/~mjball/viewer/.
> Steps to reproduce the error:
>         1. There's only 1 dropdown when you first load the page. Select "exp"
> from it.
>         2. This should spawn another dropdown. If you select any item from
> it, it spawns

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery (English)" group.
To post to this group, send email to jquery-en@googlegroups.com
To unsubscribe from this group, send email to 
jquery-en+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to