Hi,
please help on the below issue which is related to jquery:
page having a button as "SUBMIT" and code is like below:
- In document.ready function having a code as:
2) and the submit button click event code asJavaScript
$(document).ready(function () { $("#Submit").click(); });- :$("#Submit").on("click", null, function (event) {}
the issue is i want to make a difference between the call is coming from document.ready or button click
Please help me on this.

Sachin SinghRank #66 · 26.2K reputationPosted Jun 23, 2022, 2:01 AM EDT
Murali PRank #6,159 · 275 reputationPosted Jun 23, 2022, 5:28 AM EDT