[jQuery] Problem while using 'Selector - dom traversal'

2009-10-05 Thread Bhavin
Hi, I am trying to select the "except the - with ". As per jquery book, I tried this. but it is not working. $('tr:not[th]:even').addClass('even'); can anybody tell me the solution ? Thanks, Bhavin.

[jQuery] jquery validate rules using css for dynamic controls

2009-01-30 Thread Bhavin
Hi, In my application, controls are generated dynamically. I want to know if I can configure rules by giving CSS classes and NOT by specifiying element name while validating the fields. I tried following code and works in some scenarios: var isValid = $("#questionAnswerForm").validate({

[jQuery] Re: jqModal + validate + blockui plugins

2008-12-17 Thread Bhavin
}); } }); On Dec 17, 12:25 am, "Jörn Zaefferer" wrote: > Could you provide a testpage? > > Jörn > > > > On Wed, Dec 17, 2008 at 2:30 AM, Bhavin wrote: > > > Hi, > > > I am trying to implement validate plug

[jQuery] jqModal + validate + blockui plugins

2008-12-16 Thread Bhavin
g properly...Is this the correct approach to show the message ? Thanks, Bhavin

[jQuery] show JSP using dialog plugin

2008-12-09 Thread Bhavin
Hi, I want to show JSP as a dialog using dialog plugin. I dont prefer to keep elements in the page and show the dialog because user can see all hidden divs using View Source. Can I pass URL in dialog() and show the JSP as a modal window using JQuery? Thanks, Bhavin

[jQuery] Re: sortable issue

2008-12-08 Thread Bhavin
indexes. > > - Richard > > > > On Sat, Dec 6, 2008 at 3:53 PM, Bhavin <[EMAIL PROTECTED]> wrote: > > > Hi Richard, > > > Thanks for replying. I am trying to save /update sequence of elements > > whenever it is changed. In following example, if you mov

[jQuery] Re: sortable issue

2008-12-06 Thread Bhavin
ordering then we need to fire updates for all the elements for that position is changed..I am trying to figure out for better approach here... Thanks, Bhavin On Dec 6, 6:28 am, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > I'm not sure your sample provides quite enough det

[jQuery] sortable issue

2008-12-05 Thread Bhavin
Hi, I am trying to find out element which are dragged & dropped on the list in following method: $("#example").sortable({ //if i move "1" at second position then here i want array of ids 2,1 sequence. ?? // I tried selector but it gives me all the elements. ie. 2,1,3. });

[jQuery] Re: dynamic tree / treeview

2008-11-25 Thread Bhavin
complete: function(){ $("#pageid").val(""); $("#pagename").val(""); $.unblockUI(); }, error: function (error) {

[jQuery] Re: dynamic tree / treeview

2008-11-25 Thread Bhavin
re event to the Action class, bring the data and show it on the page? Or is there any other alternative? How can I make sure that whatever data I am showing on the page is updated one and latest? Please advice. Thanks, Bhavin On Nov 22, 3:29 pm, "Jeffrey Kretz" <[EMAIL PROTECTED]

[jQuery] Re: dynamic tree / treeview

2008-11-22 Thread Bhavin
Anybody can guide me on this? On Nov 21, 12:55 am, Bhavin <[EMAIL PROTECTED]> wrote: > Hi > > I am using jquery to createtreestructure type of functionality > dynamically. I have to add nodes by opening dialog and save it into > the database. Once response is returned then

[jQuery] dynamic tree / treeview

2008-11-21 Thread Bhavin
eated dynamically? Do I need to bring all the data from the database by passing parentid? Please guide. Thanks, Bhavin

[jQuery] Re: Jquery + Struts

2008-11-19 Thread Bhavin
Hi George, Thanks for your response. I will see form-plug-in as per your suggestion. But I doubt whether I would be able to interact with Struts form using that. Thanks, Bhavin On Nov 18, 7:15 pm, George <[EMAIL PROTECTED]> wrote: > I'll try to answer. > I do not know what

[jQuery] Re: Jquery + Struts

2008-11-19 Thread Bhavin
can point me to any link where Jquery is supporting to Struts 1 with working example of CRUD operations. Thanks, Bhavin On Nov 18, 9:53 pm, "Youssef EL ALAOUI" <[EMAIL PROTECTED]> wrote: > Hi Bhavin, > > Why you are defining "/saveTemplate.htm?dispatch=save" i

[jQuery] Jquery + Struts

2008-11-18 Thread Bhavin
fields. Can anyone give working example of Jquery + Struts 1 ? Thanks, Bhavin

[jQuery] Jquery with Struts

2008-11-18 Thread Bhavin
Name: Description: The problem here is it is submitting request twice because it is defined with struts form and with url (in ajax). How can I avoid duplicate request? Also, I am looking for code samples of JQuery + Struts 1. Could not find much content online... Thanks, Bhavin