[jQuery] Re: Dynamic creating of elements and appending them

2009-07-30 Thread Rodi
Try this: $(document).ready(function(){ $("#foobar").append(""); }); On Jul 29, 4:51 pm, Wulf wrote: > Hey there, > I read a lot of things now about creating elements with $("") > and the appendTo method. > here is my code I'm trying to get to work: > >   >     Foobar >    

[jQuery] Re: Tabs: page jumps to top when tab changes

2009-07-30 Thread Rodi
you have to return false; on click. On Jul 29, 6:53 am, chris_huh wrote: > Thanks but I can't find jquery.history_remote.pack.js. I am using > jquery 1.7.1 and the tabs thing that comes with JQuery UI. > > On Jul 29, 2:25 pm, rupak mandal wrote: > > > Hi, if you remove the "jquery.history_remot

[jQuery] validate form with rails

2008-03-05 Thread Rodi
Hi All, I'm using jQuery plugin Validation by Jörn. The problem is that in rails the element name for an input is formated as "user[email]" so when I pass a rule, it doesn't recognize. here is the sample: rules: { user[email]: { required: true, email: true } } it giv