Pasting a value to a website's text box automatically

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neosam
    New Member
    • Mar 2008
    • 47

    Pasting a value to a website's text box automatically

    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
  • jeffstl
    Recognized Expert Contributor
    • Feb 2008
    • 432

    #2
    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
    Code:
    <input type="text" name="mytxt" value="<%=MyPassedValue%>">

    Comment

    • neosam
      New Member
      • Mar 2008
      • 47

      #3
      Originally posted by jeffstl
      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
      Code:
      <input type="text" name="mytxt" value="<%=MyPassedValue%>">
      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

      Comment

      • jeffstl
        Recognized Expert Contributor
        • Feb 2008
        • 432

        #4
        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.

        Comment

        Working...