Open
Description
I just finished an article on this plugin and wanted to pass along some things I thought could make it easier to work with. Right now I think the plugin is somewhat tough to use in that it exposes only 2 functions and doesn't offer a lot of helper functions (Ignoring the fact that the documentation isn't up to date).
First feature request - a function called updateLinkedJSON(json, dataObj)
Basically, a utility function in the plugin that does this
$.each(json, function(key, value){
$(dataObj).data(key, value );
});
and be called in an example like this:
$.get("ajax.jsp", {}, function(data){
updateLinkedJSON(data, dataObj);
}, "json");
Metadata
Metadata
Assignees
Labels
No labels