19
Here is my issue.
HTML structure :
<tr><td><a ng-click=aClick()>Click Me</a></td></tr>
I cannot have any id/class associated with the and
What I require is that on the click of 'Click Me', the <tr> gets hidden. I need a jQuery solution. Some how I am not able to use $(this).
FUNCTION:
$scope.aClick = function() {
$(this).parent().parent().css('display','block');
};
But this statement gives me an error.