call function with parameters
- $('#'+mobilecheckdiv).load(url,data ) ; // populates data in this div -> works fine
- $('#'+mobilecheckdiv).load(url,data,remark ) ; // calls function remark after completing loading the output in div 'mobilecheckdiv' -> works fine
In this case I am caling a function remark without paramter
However
- $('#'+mobilecheckdiv).load(url,data,remark(chkdivname,n) ) ; // Call function remark(chkdiv,n) i.e. a function with parameters is executed before loading the div with Data
How can I call
- $('#'+mobilecheckdiv).load(url,data,remark(chkdivname,n ) ;// fucntion with parameter
that will give same effect as
- $('#'+mobilecheckdiv).load(url,data,remark ) ;