I am new to jQuery and I am trying to use it to populate data from
ColdFusion, which is working fine.  My problem comes in where I am
trying to pass an array of values to other methods that populate
several fields on my page.  Here is what I want to do:

1.  Take a loop of id values
2.  Pass the values to the other functions and populate the
appropriate fields
3.  The first id populates the fields automatically
4.  All others are populated using an onclick event

Here is what's happening

1.  Take the loop of id values
2.  Pass the values to the other functions and populate the
appropriate fields
3.  The first id populates the fields automatically
4.  Trying to use a $.click() is the same behavior as just using each
- All values are iterated through and change the fields accordingly
until the last id is reached, at which point the values stop
iterating.

I am currently looping over the array values using the each method.
Where if the index is equal to 0, then I will show the first set of
values.  It's getting beyond that point that is causing trouble.  If
anyone has any insight on how I can dynamically load the first value
and then cause the next set of values to populate once the user clicks
on a button, please let me know.

Thanks,

James

Reply via email to