Say there is a selector $("#someID p")
and that $(this)
= $("#someID")
. What selector would always be equal (if it was more complicated, like the example below) starting with $(this).
Example:
I have the following selector: $(tableMap.id + " tr:eq(" + i + ") td:eq(" + j + ")")
On that line, I have $(this)
being equal to $(tableMap.id)
.
How would I remove tableMap.id
from the first line and still keep the rest of the selector?