I am trying to change a sibling div element and this is the operator I used
$('.edit').click(function(){
this.siblings('.innerInfo').html("success");
});
He continues to throw an exception <HTMLDivElement> has no method 'siblings', and I really cannot understand why. I initiated jQuery and ive ran the script ondocument.ready
thank you for your help!
nkcmr source
share