2
Answers

Regarding a submit button call in JQUERY

Murali P

Murali P

2y
713
1

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)