Murali P

Murali P

  • 1.2k
  • 189
  • 16.3k

Regarding a submit button call in JQUERY

Jun 23 2022 4:19 AM

Hi,

 please help on the below issue which is related to jquery:

page having  a button as "SUBMIT" and code is like below:

 

  1. In document.ready function having a code as:  
    $(document).ready(function () {
           $("#Submit").click();
       });
    2) and the submit button click event code as
    1. :$("#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.


Answers (2)