object comparison
object comparison
How do I go about comparing two jquery objects to see if they're actually the same html object. I've got:
$("...").each(function(){
if($(this) != someobject) {
$(this).css("border", "1px solid red");
}
});
This should add a border to every object in the selected set except for the one defined in
someobject
... shouldn't it.
What am I doing wrong here?
Topic Participants
nicholas.stephan
rgqld