[jQuery] RAiLS + jQuery - trying to get rid of Prototype...

2009-07-29 Thread erwin
I am trying to get rid of Prototype and use only jQuery... , made some progress but I am stuck now to what I use to do : I sent an Ajax request ( read the doc.. ok; I got it) "$.ajax({ url: '#{url}', async: true, type: 'GET', dataType: 'script'});" I land correctly at the url (show action)

[jQuery] Re: jQuery validation custom method doesn't work

2009-07-23 Thread Erwin Purnomo
n (value, element, param) > { >          return value >= $(param).val(); // this works know >          }, 'Please enter a greater year!'); > > On Jul 23, 12:21 pm, Erwin Purnomo wrote: > > > Hello all > > > I have added a method on jQuery validator like th

[jQuery] jQuery validation custom method doesn't work

2009-07-22 Thread Erwin Purnomo
Hello all I have added a method on jQuery validator like this $.validator.addMethod('myEqual', function (value, element) { return value == element.value; // this one here didn't work :( }, 'Please enter a greater year!'); $.metadata.setType("attr", "validate"); $("

[jQuery] [tooltip] dont close tooltip after click

2009-06-25 Thread Erwin Purnomo
Hi all I'm using jquery tooltip by Jorn (http://jquery.bassistance.de/) It's a great plugin, and pretty too :) But I want to change it so the tooltip wont close on mouse click Anyone has idea?

[jQuery] [validate] custom error label show and hide

2009-06-17 Thread Erwin Purnomo
Hi all... I have created a form that consist of radio buttons group, and used jQuery validate to check the input. But I came across this error label that I want to modify the way it showed to the user U must all know that jQuery validate plugin show the custom error label by changing the css dis