By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,109 Members | 969 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,109 IT Pros & Developers. It's quick & easy.

Pasting a value to a website's text box automatically

P: 47
Hi,

I am currently doing a project, where i need to search an application for certain data. the application is a HTML page (like an internal web site). The tool that i am making needs to paste a value in a particular text box. Is it possible to have that done....

Thanks
Neo
Jun 20 '08 #1
Share this Question
Share on Google+
3 Replies


jeffstl
Expert 100+
P: 432
Yes its possible

There are a miriad of ways to do it though, and other specifics. Like is the page a .asp page? straight HTML? php? aspx?

Essentially thought you need to write your value to a database, a file, or into a querystring (anything that can pass data to the page) and then fill the value of the text box with whatever you pass.

This is what the print out would look like if the page is .asp, just as a very default example
Expand|Select|Wrap|Line Numbers
  1. <input type="text" name="mytxt" value="<%=MyPassedValue%>">
  2.  
Jun 20 '08 #2

P: 47
Yes its possible

There are a miriad of ways to do it though, and other specifics. Like is the page a .asp page? straight HTML? php? aspx?

Essentially thought you need to write your value to a database, a file, or into a querystring (anything that can pass data to the page) and then fill the value of the text box with whatever you pass.

This is what the print out would look like if the page is .asp, just as a very default example
Expand|Select|Wrap|Line Numbers
  1. <input type="text" name="mytxt" value="<%=MyPassedValue%>">
  2.  
Hi.

I am not really sure if that is a HTML or ASP page. Could you tell me what is the sureshot way of finding that out.

Thanks
Jun 23 '08 #3

jeffstl
Expert 100+
P: 432
If the file you are wanting to work with has a .asp extension or a .html or .htm extension is how you can tell what kind of page it is.
Jun 23 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.