Rajesh Gami

Rajesh Gami

  • 576
  • 2.8k
  • 103.9k

How to pass value in Delegate click in angularjs.

May 8 2019 7:23 AM
Suppose I have one div like
  1. <div class="profilewidth cursorpointer childLoad" id="dynamicID" >  
  2. lt;/div>  
 and in Jquey we have try like this
 
  1. $("body").delegate(".childLoad""click"function () {  
  2.   
  3. });  
But I want to pass one object from html to angularjs like we ng-click="fun(object)" 
like this i want to pass value in delegate. How is this ????
 
I want to pass value like this in angularjs:
  1. $("body").delegate(".childLoad""click"function (object) {    
  2.     
  3. });   
 
 Please reply fast
 

Answers (1)