[jQuery] jquery ui sortable

2009-02-17 Thread Ashit Vora
Hi, I was just playing with jQuery UI sortable. Whenever an element is sorted, I want to call a function. eg. There are five paragraph elements containing A, B, C, D, E. After every sort, I want to check it the current order is EDCBA or not. How can I do this? Thanks :)

[jQuery] element selection

2009-02-17 Thread Ashit Vora
Hi, I 've a small query, I have a table with each row having a unique id (eg. 1,2,3,4) As an Ajax response I receive ID in JSON format. I want to remove the row having that ID. For selecting element using Id, I generally use $('id').fadeOut(); but how do I out the value of variable in this

[jQuery] Re: error binding event with anchor tag

2009-02-13 Thread Ashit Vora
ew widget, or > 2) use jQuery 1.3's new live() > function:http://docs.jquery.com/Events/live#typefn > Bind once, and you're good to go for future elements also. > > On Feb 13, 8:31 am, Ashit Vora wrote: > > > Hi, > > I 'm new to jQuery and 'm fa

[jQuery] Re: How to make a secured login form

2009-02-13 Thread Ashit Vora
Hey, why dont u redirect to Welcome.php page from the page where u r authenticating the user. eg. suppose you make ajax request to auth.php for validation, If validation succeed, redirect to welcome.php (and the ajax request which was waiting for response will die) and if failed, write response b

[jQuery] error binding event with anchor tag

2009-02-13 Thread Ashit Vora
Hi, I 'm new to jQuery and 'm facing a some problem binding click event, a function to an anchor tag. I 've an anchor tag with ID add. $('.add').click(function(){ var newElem = "Temp Text Displayededit delete"; //alert(newElem);

[jQuery] new to jQuery

2008-10-30 Thread Ashit Vora
Hi friends, 'm very nwe to jQuery. I started reading the book Manning jQuery I find it interesting.. So far this is the first JavaScript Library 'm ever trying so 'm pretty much impressed by the ease with which can do lot of things. I 'm not very much familiar with server side scripting. So