Target elements with different ids Jquery
How do I target a particular element used with different ids.For instance
that have the ids row and col. I have tried doing this with jquery.
var $drag = $( "#col" );
var $drag2 = $( "#row" );
$("td", $drag, $drag2).droppable({ accept: ".special" });
But the second id "row" stored in drag2 is not selected. What is the
proper way of doing this in jquery.
No comments:
Post a Comment