[jQuery] Best practice for integrating server-side validation (jsp) with jquery validation (specially bassistance)

2009-07-14 Thread Anoop kumar V
Hi All, I was wondering if there is a link or pointers for best practices while integrating client side validation errors with server side validation. I read on a forum that this requires the server side to return a json, but could not find many pointers or details about this. Can somebody

[jQuery] Best practice for using JQuery within another custom library

2009-05-09 Thread Coop
All, I’d like to use JQuery internally to a library I’m writing for a client of mine. My specialized library will be solely based on their REST services. I’d like to use JQuery’s AJAX functionality but I don’t want to cause any conflicts if the consuming developer is using JQuery on their main

[jQuery] Best practice for processing JSON quickly

2009-03-03 Thread René
I have some JSON that needs processing, e.g.: items[1] = '1010101001010102011010100010101020101020101010101100110100; items[2] = '101012101010111001011010111001010121011000; ... (x 1000) I need to process ~1000 rows so that each 0, 1 or 2 appear as a

[jQuery] Best practice for replacing inline HTML function calls w/several arguments with an event handler

2009-02-13 Thread Eric P
Hi, I'm fairly new to jQuery (been using a few months now). Binding event handlers to HTML objects via jQuery is awesome, but I find myself struggling to find a solid (I.e., best practice) method for getting numerous arguments to the event handler that are pertinent to the object that

[jQuery] Server Side programming and JQuery best practice

2008-12-08 Thread mmware
Hi all. What is the best way to pass parameters from the PHP script that generate the page to the Javascript/JQuery functions that enhance the page ? In my page there are several element that trigger an ajax request and show the result in a box. Of course each ajax request has a different url

[jQuery] Best practice to get form field values

2008-06-12 Thread mar10
Hi, what would you consider the 'best practice' to access form input values? Having an input field input value=New topic class=inputEdit name=title type=text I could use $('[EMAIL PROTECTED]').val() or $('[EMAIL PROTECTED]title]').val() or $('[name=title]').val() or

[jQuery] Best Practice

2007-11-02 Thread Doug
Hello All, I am a newbie and am trying to learn jQuery. I created this function: function getRecord(id,URL){ jQuery(#ResultsTable tr).filter(.selected).removeClass(selected); jQuery(#+id).addClass(selected); . It goes on to return a record. The first

[jQuery] Best practice for form serialize?

2007-10-12 Thread mo2g
I have a web page with two forms on it. It originally used Prototype and I would like to convert it to jQuery. The main form has text, checkboxes, radio buttons, etc. I want to watch the form and if any form element changes I want to serialize the entire form and post it to a URL, receive the

[jQuery] Best Practice? Sliding table rows up and down

2007-09-17 Thread Andy Matthews
I've been in this situation before and gone a different route, but this time I'd really like to use a table for my data, but have the ability to show/hide certain rows using slideUp/slideDown. I originally tried sliding the actual TR up/down but it wasn't working correct. I ahve a table with 6

[jQuery] Best practice for image source change

2007-04-05 Thread Oddish
I've got a bunch of thumbnails, and when clicking these thumbnails, a larger image is supposed to change. I do this by changing the src attribute of the larger image, but I'm very new to jQuery so I was wondering about the best way to accomplish this. Right now, I've got this working code, but