You can attach data to each draggable HTML element (eg. a big div or table)
using the .data() jQuery function. Then when an element is dropped, you can
use .data() again to retrieve the object attached to it and use that data
for processing/saving/etc.
I hope that helps. Cheers,
Jesse Skinner
You can call .stop() to stop an animation, and .css('opacity', 1) to remove
transparency.
Cheers,
Jesse Skinner
www.thefutureoftheweb.com
On Sat, Jan 17, 2009 at 11:13 AM, Stephan Veigl wrote:
>
> How can I abort an animation?
>
> I have a slow fadeOut() on an element. U
I am looking for some basic examples showing how to do simple XHR's
with both XML and JSON datatypes. How do you parse the XML vars using
Jquery? I am looking for simple examples that I can learn from.
Just use the $.ajax function, and set the dataType option like this:
$.ajax({
url
It seems that after a jQuery clone(), the value of select boxes are lost
in IE (but not Firefox). Try this out:
one
two
$(function(){
$('div').clone(true).appendTo('body');
});
The first option will be selected in the cloned select.
Do
. Perhaps you meant to do this:
n = $('test', $('Passed!'));
I hope that helps. Cheers,
Jesse Skinner
http://www.thefutureoftheweb.com/
#x27;, {mode: 'toggle'}, function(e){
tocDisplay(e);
});
$('#toc_content a').bind('click', {mode: 'hide'}, function(e){
tocDisplay(e);
});
--
Jesse Skinner
http://www.thefutureoftheweb.com
DaveG wrote:
I'm binding a click function. If I incl
"["+task.client.code+"] "+task.project.name+
""+task.name+""+
"Remove"+
""
).find("a.removeTask").bind('click', {taskid: task.id}, function(){
return remove_task.apply(this, arguments);
}).end().appendTo(&q
I wrote a jQuery tutorial for IBM DeveloperWorks which went live today:
http://www.ibm.com/developerworks/library/x-ajaxjquery.html
Cheers,
Jesse Skinner
www.thefutureoftheweb.com
8 matches
Mail list logo