I have string that contains some div's how to get one of them by id ?
EDIT
I'm using right click selection plugin, so when i select a div .
$("#first #second").contextMenu({
menu: 'myMenu'
},
function(action, el, pos) {
switch (action) {
case "do":
{
and the selection is basicley
$(el).html()
So this is the code that contains the html that is in #second, but the #second isn't one div , it is a'lot of divs with that id, and i want when i click on that div to select certain id and get it's context . Is there a easyer way ?