Hi
How to pass an angularjs variable value (value.ProductDescription) to
Jquery element (spec) ? , Can I do this do or not ?
$(".newsblock3 .id").each(function(e,val){
var idPro = $(this).text();
var spec = $(val).closest("a").find("div#desc").text();
$.each($scope.Products, function(index, value) {
if (idPro == $scope.Products[index].PKEY) {
spec = value.ProductDescription;
return false;
}
});});
So Thanks
--
You received this message because you are subscribed to the Google Groups
"Angular" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.