Can someone explain the below,
$.myfunc.extend({
gethtml: function (id, access, html, myfunc_change, myfunc_replace) {
},....
});
what is extend ,gethtml, myfunc in the code and how is the function accessed
Thanks..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The extend method will extend myfunc and add the gethtml method to it. You will be then able to call:
id, access, html, myfunc_change, myfunc_replace are all arguments to the gethtml method. You need to look at the implementation to see what they do. The last two are probably callback methods.