in reply to Re^2: submit data without reload
in thread submit data without reload
The pop-up is the alert in the Execute() function
success: function(res) { alert(res.msg); },
Change to
success: function(res) { \$('#result').text(res.msg); },
and add space for the result to html
poj<body> <p id="result" >Time now is :</p> <input type="button" id="Submit" name="Submit" value="Submit"/> </body>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: submit data without reload
by bigup401 (Pilgrim) on Jan 23, 2019 at 11:55 UTC | |
by bigup401 (Pilgrim) on Jan 23, 2019 at 17:34 UTC | |
by poj (Abbot) on Jan 23, 2019 at 21:25 UTC | |
by bigup401 (Pilgrim) on Jan 24, 2019 at 09:24 UTC |