I have Angular code:
$scope.updateCategory = function(cat,test) {
res = angular.element(document.querySelector(
$(this)
.parent()
.parent()
.find('.custom_cat_name')
.val()));
alert(res);
I want to get input value of $(this) of an element .
Can I do this?
Currently it is showing [object Object], which doesn't make sense.