I’m trying to add a parameter to a div once its dropped onto a droppable.
Is there a method which resembles addParameter below which can add the paramter ?
$( ".placeHolder" ).droppable({ drop: function( event, ui )
{
"#"+this.id.addParameter(myParam="testParam");
}
If you mean setting the attribute to the draggable element, then you can use:
Otherwise, just use
ui.draggableas a jQuery object of the draggable element.