[jQuery] Interface Sortables

2007-03-23 Thread SiCo
Hi, I am trying to create two lists which the user can sort between. Basically an active and inactive list of sections of the site. So those in list a will be active and those in b will be inactive. Simple and I've got it working using Interface and a bit of fiddling. However (Yes the but!) I

[jQuery] Ajax updating a div

2006-12-08 Thread SiCo
Hi, I am trying to update a div with the response back from an ajax call, the trouble is I don't know what syntax to use or how to make it work properly. $([EMAIL PROTECTED]).click(function () { // Firstly I grab the tags from the form I am replacing (upon clicking submit) var tags = $([EMAIL

Re: [jQuery] Elegant Loading Indicator

2006-12-08 Thread SiCo
It's nice but surely it implies the whole page is inactive, but in fact you can really just continue and do what you like. Just out of interest do these methods ajaxstart and stop actually work in IE, i was playing last night and couldn't get them to register but in Firefox all was well. I

[jQuery] Multiple Unknown Invisible Calls

2006-12-08 Thread SiCo
Thanks in advance for any help you can give this is driving me mad! I am making a plugin (which basically creates editable field) to learn jQuery, the code is here: http://www.sico.co.uk/jquery/jquery.editme.js The problem I am having is that each function call seems to get called multiple

Re: [jQuery] Add to Dom

2006-12-07 Thread SiCo
A jQuery statement like $(div.tags a).click(...) is saying, bind a click handler for all child links of div.tags that exist **right now**. I just realised this and now have it working, I need the onclick inside the function which made the changes. Now everything references and my test

Re: [jQuery] Add to Dom

2006-12-07 Thread SiCo
Moving on a little now I have it working, I am looking at the edit in place plugin by David Hauenstein (http://www.davehauenstein.com/code/?a=inplace) when he replaces the item he does the following: var original_element = $(this); var original_html = $(this).html();