On Dec 8, 4:17 am, lennon1980 ja...@publiczone.co.uk wrote:
Cheers..thats pretty cool. One more thing actually..I need the element to
be a div..how do I add this to the selector
This might do it:
var item = $(#feature).prevAll(div[class]:first);
Cheers,
-- Scott
On Dec 7, 10:23 am, lennon1980 ja...@publiczone.co.uk wrote:
I want to find all previous elements in the DOM (not parent elements) of
element called 'feature' [ ... ]
But I want to find all previous divs that have a css class assinged to them.
the first previous div it finds I want to be able
I think what you want is this:$('#FieldA').blur(
$('#FieldB').val($('#FieldA').val());
$('#FieldB').valid();
);
May be you should put the remote validation in field A instead of B,
passing both A and B values to the server side.
On Aug 26, 4:42 pm, marcp marc.past...@gmail.com wrote:
hi all,
i have 2 fields in my form with 1 being currently validated with a
remote method (say Field B).
I would like
On Tue, Nov 18, 2008 at 4:12 AM, Randy Johnson [EMAIL PROTECTED] wrote:
Hello,
Here is sample code:
td class=rsp2 align=center rowspan=2
p
34 Daysbr /
a id=r2 href=javascript: void(0); title=211/03/2008/a
/p
/td
When I click on the date above I want to be able to change the rowSpan
On 18 Nov, 04:12, Randy Johnson [EMAIL PROTECTED] wrote:
When I click on the date above I want to be able to change the rowSpan
on the td that surrounds it. I cannot seem to get it right.
try this:
$('#r2').parent().parent().attr('rowspan', '1');
Forgot the dot:
$('#r2').prevAll('.rsp2').attr(rowspan,1);
On Tue, Nov 18, 2008 at 10:26 AM, andrea varnier
[EMAIL PROTECTED]wrote:
On 18 Nov, 04:12, Randy Johnson [EMAIL PROTECTED] wrote:
When I click on the date above I want to be able to change the rowSpan
on the td that surrounds it.
Another variation, searching for the td, not for the class name.
$(#r2).parents().map( function(){
if(this.tagName == TD) {
this.attr(rowspan, 1);
}
});
El 18/11/2008, a las 10:28, Isaak Malik escribió:
Forgot the dot:
I would use jQuery#parents() for this.
$('#r2').parents('td').attr('rowspan', '1');
In case you are using nested tables, you may want to limit it to the first
parent td found:
$('#r2').parents('td:eq(0)').attr('rowspan', '1');
-Hector
On Tue, Nov 18, 2008 at 7:00 AM, manuel muñoz solera
less code, better solution :)
El 18/11/2008, a las 18:02, Hector Virgen escribió:
I would use jQuery#parents() for this.
$('#r2').parents('td').attr('rowspan', '1');
In case you are using nested tables, you may want to limit it to the
first parent td found:
On Nov 19, 3:02 am, Hector Virgen [EMAIL PROTECTED] wrote:
I would use jQuery#parents() for this.
$('#r2').parents('td').attr('rowspan', '1');
In case you are using nested tables, you may want to limit it to the first
parent td found:
$('#r2').parents('td:eq(0)').attr('rowspan', '1');
Thanks everyone for your suggestions, I tried the one below first and
it worked.
-Randy
On Nov 18, 12:02 pm, Hector Virgen [EMAIL PROTECTED] wrote:
I would use jQuery#parents() for this.
$('#r2').parents('td').attr('rowspan', '1');
In case you are using nested tables, you may want to limit
12 matches
Mail list logo