96
rated 0 times
[
103]
[
7]
/ answers: 1 / hits: 31242
/ 11 Years ago, tue, april 23, 2013, 12:00:00
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.
More From » jquery