BullGuard Antivirus Sale - 60% Off with openElement !
Forum openElement Homepage
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: 23 Oct 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: 23 Oct 2020 at 23:37
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: 23 Oct 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: 24 Oct 2020 at 02:47
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 10.11
Copyright ©2001-2012 Web Wiz Ltd.

This page was generated in 0,016 seconds.