I’ve implemented a droppable using jQuery like so below :
$( ".myVal" ).droppable({ drop: function( event, ui )
{
}
});
I’m dragging a <li> element into the droppable area. Can I apply new css to the <li> just added when it is dropped, so instead of just text being dropped into the area, the text contains new css styling ?
I think this is what you need.
So:
CSS
is also good idea 🙂