[jQuery] Re: In a row trasversing, finding, counting...

2009-12-28 Thread elpatator
Never mind, found it out by myself: alert($(this).parents("tr:first").find("input[type=text]").length);

[jQuery] Re: jQuery in Action = $15 off today (12/28)

2009-12-28 Thread elpatator
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

[jQuery] In a row trasversing, finding, counting...

2009-12-28 Thread elpatator
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 ?

[jQuery] Re: Ajax , Json, and error firing instead of success

2009-12-09 Thread elpatator
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

[jQuery] Re: Ajax , Json, and error firing instead of success

2009-12-08 Thread elpatator
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

[jQuery] Ajax , Json, and error firing instead of success

2009-12-08 Thread elpatator
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,

[jQuery] IE 6-7 autosubmit forms, JSON objects and weird behaviours

2009-12-08 Thread elpatator
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

[jQuery] Multiple classes selector causing trouble, but why ??

2009-09-19 Thread elpatator
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

[jQuery] Basic yet intersesting DOM problem

2009-06-08 Thread elpatator
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

[jQuery] Re: Web dev problem face to face with JAVA J2EE Dev's

2009-05-19 Thread elpatator
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

[jQuery] Re: Web dev problem face to face with JAVA J2EE Dev's

2009-05-19 Thread elpatator
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

[jQuery] Web dev problem face to face with JAVA J2EE Dev's

2009-05-18 Thread elpatator
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