BullGuard Antivirus Sale - 60% Off with openElement !
Forum Home Forum Home >

openElement

> openElement General Discussion
  New Posts New Posts RSS Feed - Retrieve text from textbox
  FAQ FAQ  Forum Search   Register Register  Login Login

Retrieve text from textbox

 Post Reply Post Reply
Author
Message
Tony T View Drop Down
Newbie
Newbie


Joined: Oct 23 2020
Location: USA
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tony T Quote  Post ReplyReply Direct Link To This Post Topic: Retrieve text from textbox
    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
Back to Top
Tony T View Drop Down
Newbie
Newbie


Joined: Oct 23 2020
Location: USA
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote Tony T Quote  Post ReplyReply Direct Link To This Post Posted: Oct 24 2020 at 1:47am
Found answer in -  Compare two input text fields [tutorial]

var pwd= $('#WE39d40d3acc input').val();

Thanks for tutorial

Tony
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.063 seconds.