Retrieve text from textbox |
Post Reply |
Author | |
Tony T
Newbie Joined: Oct 23 2020 Location: USA Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: Oct 23 2020 at 10:37pm |
I want to get data that has been entered by user.
WE39d40d3acc is id of text box. WE9d27443428 is id of submit button.
I have tried jquery and javascript such as: $('#WE9d27443428').click( function(){
$pwd = $_GET['WE39d40d3acc']; $pwd = document.getElementById("WE39d40d3acc"); alert($pwd.value); } ); any helpappreciated. |
|
Tony
|
|
Tony T
Newbie Joined: Oct 23 2020 Location: USA Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Found answer in -
var pwd= $('#WE39d40d3acc input').val(); Thanks for tutorial |
|
Tony
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |