freelanceprogrammers.org Forum Index » ASP

javascript .NET textbox


View user's profile Post To page top
ahmet_gulbas Posted: Thu Jan 13, 2005 5:07 pm


Joined: 08 Jan 2005

Posts: 5
javascript .NET textbox
how can I get the value of an asp:Textbox object from javascript function?


[Non-text portions of this message have been removed]
Reply with quote
Send private message
View user's profile Post To page top
naweed_ak Posted: Fri Jan 14, 2005 1:53 am


Joined: 08 Jan 2005

Posts: 5
javascript .NET textbox
Use the following:

var theTextBox=document.getElementById(`textBox1`);
alert(theTextBox.value);

HTH

Regards
Naweed Akram

-----Original Message-----
From: amet [mailto:gulbasa@...]
Sent: Thursday, January 13, 2005 2:08 PM
To: AspNetAnyQuestionIsOk@yahoogroups.com
Subject: [AspNetAnyQuestionIsOk] javascript .NET textbox


how can I get the value of an asp:Textbox object from javascript function?


[Non-text portions of this message have been removed]




Yahoo! Groups Links
Reply with quote
Send private message
Post new topic Reply to topic
Display posts from previous:   
 

All times are GMT
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Freelace Website Designer - Customer web design and software building.
China Wholesale - Electronics Products
Character Studio - Tutorials and Help