The text of this article is not in this database — only its details are. Read it on the old site: Using Callback Function in jQuery
5 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Using Callback Function in jQuery
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Hariom SharmaPosted Sep 7, 2014, 8:08 AM
Really good work
Rohatash KumarPosted May 13, 2013, 11:41 PM
Thanks anil. I have also updated it.
Anil KumarPosted May 13, 2013, 10:00 PM
Sequence execution means next statement will execute after the current one. If there is asynchronous type calling concept then it don't works like single lane way but multi-lane way. In JavaScript itself, if you call two functions in two statements one by one hoping that next function call will done after the completion of first function's statements will not work as you expecting. Though calling of function is still in order/sequence.Synchronous callback plays an important role. @Sam sir: Yes C and other languages also have callbacks. http://en.wikipedia.org/wiki/Callback_(computer_programming) @Sandeep: the statement should like 'jQuery is based on JavaScript'.
Sandeep Singh ShekhawatPosted May 13, 2013, 9:08 PM
Thanks for explain callback. you are saying that "JavaScript is based on jQuery". can you please explain this?
Sam HobbseditedPosted May 13, 2013, 8:19 PMEdited May 13, 2013, 8:25 PM
Thank you for explaining callbacks. Note however that it is misleading to imply that C and C++ do not have callbacks. Callbacks are a very fundamental requirement for Windows API programming. Before JavaScript and before Java and before Visual Basic, most Windows programming was done using C and I am nearly certain that Windows was originally developed using C. There is a Window Procedure (WindowProc) callback for every window in Windows, except I am not sure about Windows Store windows. Every Windows API program must have a Window Procedure callback for every window of the application. See: http://msdn.microsoft.com/en-us/library/windows/desktop/ms633573(v=vs.85).aspx