Never mind, found it out by myself:
alert($(this).parents("tr:first").find("input[type=text]").length);
Thanks for the nice tip !!
On 28 déc, 15:38, MorningZ wrote:
> Just a heads up to people on this list Manning Publications is
> running a special of $15 off their books today only... one of those
> books is the excellent (I'd almost say *required*) read "jQuery in
> Action":
>
> http://www.m
What I'm trying to do is to determine how many inputs are present on
the same table row of the current input user is updating.
I tried this:
alert($(this).parents("tr:first")"input[type=text]".length());
But it counts total input in current table.
What am I missing ?
Dear Mike, I think i'm on something... To be precise, my json is
generated through a jsp parsing. So its dynamic, and imports taglibs
in first place. These imports generate 'natural' whitespace. So I
started hardcoding this jsp/json anwser, stripping away taglib
imports. Wich gave me a clean, whit
Dear all,
as suggested above, I just made a quick test using
error: function(XMLHttpRequest, textStatus, errorThrown) {
alert("XMLHttpRequest: " + XMLHttpRequest);
alert("textStatus: " + textStatus);
alert("error
Hi people,
I'm trying to make an ajax request, hoping for a clean json response
to come up. Firefox, as usual, behaves like a charm, but when it comes
to IE 6 and 7, it's the error function that's fired.
$.ajax({
url: action,
data: data,
Here's the beginning of the description for my problem (made the
mistake to open this thread in the wrong group, sorry for that).
http://groups.google.com/group/jquery-dev/browse_thread/thread/8c2edf79fdebf61e
Unfortunatelly, I cannot provide an online test page. But I can keep
on describing erro
Hi all,
i'm struggling with a small yet in,teresting problem. In order to
allow users to filter content, i've created a small checkbox list. To
each checkbox is attached an ID , and too some divs on the page are
attached these id's too (in the class attr that is); one div can be
attached to multi
My question is pretty simple, yet its answer isn't that easy.
Here's the deal:
I have a series of divs, floating next to each others.
When user clicks on a predefined checkbox, some of these divs disappear,
using jquery's hide() function. After hide() ends, the remaining divs shift
(wich is abso
thanks a lot.
They have also been talking about servlets, and again, that's not my
world; should I encourage this pratice ? will it ease the job between
us
Dealing with Json or XML isn't really a problem, but basically what
i'm facing is another deal : those guys chain custom action (for
example, login/logincheck/loginok/homeView...), these actions filling
a different task. So, applying this to our current problem (user enter
bargain code, submits, a
Hi all,
my problem is quite, I have to admit it, confusing. My client has a
couple of JAVA hardcore coders, but obviously none of them understands
the concept of ajax (not so hardcore now, huh ? ...).
As myself am not confident with the JAVA/J2EE/STRUTS concepts, I'm
trying to find out a way to e
12 matches
Mail list logo