javascript - How to append events or functions using jquery, from Chrome Dev Tools Console to the current page? -
i'm not front-end developer, i'm new jquery, when develop/design utilize lot console of chrome developer tools test queries, that's usefull.
but today faced issue, need set click event 1 div, set function on view(mvc), launch app, pass login, click here, click there. , when moment of test come, event didn't worked.
then fine if jquery append new click event div, console of chrome dev tools rather alter view-compile-execute, etc.
how that?
thanks.
i'm not sure got meant. think mean how trigger click event on particular div.
if it, can utilize $("div#id").click();
(it shortcut $("div#id").trigger("click")
)
you can run on console, of course
javascript jquery dom google-chrome-devtools
No comments:
Post a Comment