+ 2

How can I call a function in JQUERY?

I need to know how to call a function to use it in manipulating a button in html.

19th Jul 2017, 12:23 AM
DeltaTick
DeltaTick - avatar
3 Respuestas
+ 3
@Very Hard is right: if your meaning is to know how can you use JQuery library, it's required to link it to your Html document to be available... ... but your question is unclear: you << can call a function in JQUERY >> as you call a function in JS (JQuery is just a set of JS functions -- mostly methods attached to the JQuery root object '
#x27;, so a JQuery function in sense of method is called through the call of $(arguments) wich return object(s) on wich you can call methods ^^).
19th Jul 2017, 7:57 AM
visph
visph - avatar
19th Jul 2017, 2:29 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
0
Calling a function in jQuery is basically the same as calling one in JavaScript.. function_name(parameter_list); If you wish to call this function only after a particular event occurs, you can put it within the code for the event handler. If you wish to call the function after an animation/transition is complete, you can put it within the callback function. Wherever you put it is completely dependent on what you want your program to do. Hope this helps :)
16th Nov 2017, 1:56 PM
Victor Durojaiye
Victor Durojaiye - avatar