I'm not sure if this is the key - if it is, then I don't know how to implement it.
The getDashItem function does fire after the first cycle - new content is loaded. The problem is that the fID value is not updating in the jEditable piece of the function.
I also know the fID is being feed to the code (checked via the alert). I had tried unbinding ($(".edit").unbind;) but this attempt (more of good intention than knowledgeable practice) did not help me.
case "Y":
});
At 12:51 a.m. 30/09/2008, you wrote:
On Sep 29, 2008, at 11:55 AM, Bruce MacKay wrote:
> The following function loads a div on the current page with new
> content relating to an item ID of fID (selected from a list of items
> in another div on the page). I then use jEditable to allow the user
> to update the content of that item. That bit works fine on the
> first cycle.
>
> However, when I select and load in another item with a different
> fID, I cannot get jEditable to update its value for fID, either in
> the URL (first arrow) or through the submitdata function (second
> arrow).
Maybe related to this:
http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F
?
--
Mika Tuupola
http://www.appelsiini.net/
No comments:
Post a Comment