[jQuery] Problem with each()

2007-10-15 Thread Jan
Hi, I'm experiencing a problem with each(): function CalculateDuration() { $(".duration").each(function() { var dur = $(this).html(); dur++; $(this).html(dur); }); } This function should take the value of fields tagged with .durat

[jQuery] problem with each() function

2007-07-12 Thread Salvatore FUSTO
Hi, i've a table in which there are a number of cells, of class myCl: these cells are not in all rows; in each of these cells i have one select and one input ; i would retreive for each myCl-classed td the value of the first element, then i think to write: $("td.myCl").each(function(i){this.

[jQuery] Problem with "each" on IE7

2007-05-30 Thread elkdanger
Hi I've got a problem with using the each function and IE7. The code I have works fine in Firefox, but not IE7. The basic problem I'm trying to overcome is I have one drop-down list holding a list of car manufacturers, and a second one which contains a list of cars by a manufacturer. The second