[jQuery] Struts2, JQuery and JSON result to create a dynamic ajax website

2009-07-12 Thread GF
Hello all, i wrote a simple guide that explains how to use together Struts2 and JQuery to create dynamic content with Ajax and JSON. http://www.zulutown.com/blog/2009/07/12/ajax-dynamic-content-with-struts2-jquery-and-json-plugin/ I hope someone can appreciate it Thank You

[jQuery] Re: Search for a div tag

2008-06-30 Thread gf
On Jun 30, 4:56 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > These are dynamically generated multiple-select boxes in Sharepoint. > The width is currently 143 pixels and we want to expand them so more > of the text can be shown. The problem is the boxes are generated on > the server. We

[jQuery] Re: Issue using a long array in jquery autocomplete

2008-06-30 Thread gf
On Jun 30, 3:38 am, Gearóid O'Ceallaigh <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using bassistance's autocomplete on a website (plugin page found > here:http://plugins.jquery.com/project/autocompletex). Its perfect > for I need since it allows the data for the autocomplete to be loaded > from a lo

[jQuery] Re: IE 6 double submit

2008-05-02 Thread Tomas GF
I see. Thanks for explain it clearly. I was confused by the ajaxForm documentation. -- View this message in context: http://www.nabble.com/IE-6-double-submit-tp16964708s27240p17026592.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] IE 6 double submit

2008-04-29 Thread Tomas GF
I'm using jQuery with form and validate plugins. I have several forms on the same page. The following code submit the proper form: $(document).ready(function() { var loader = jQuery('loader'); $.validator.setDefaults({ debug: true, focusInvalidElement: true, submitHandler: func

[jQuery] Re: Validate plugin problem

2008-04-28 Thread Tomas GF
I recognize this. This code works: $(document).ready(function() { var loader = jQuery(' _js/spinner.gif '); $.validator.setDefaults({ debug: true, focusInvalidElement: true, submitHandler: function(form) { $(form).ajaxStart(function() { $(this).prepend(loader);

[jQuery] Validate plugin problem

2008-04-27 Thread Tomas GF
I'm using jQuery Validate (v. 1.2.1) on a page with several forms. I iterate through the forms using each(). The validation is working but when I try to append a loader (using ajaxStart()), it's appended to the wrong div (always on the second form). The code: $(document).ready(function() {

[jQuery] Re: How to apply a Zebra Table Effect considering 3 rows instead 1

2008-03-25 Thread gf
I always attack this sort of problem using something like Javascript's splice(). The Array.splice() method will let you extract and optionally replace the first three elements of an array. If you replace them with nothing then you're effectively shifting three elements at a time. Just loop whil