Results 1 to 4 of 4

Thread: Retreive Text

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2005
    Posts
    4

    Retreive Text

    Probobly really easy for most of you but...

    How would I retreive whatever was typed into a text box. I have a button and a place for the user to enter text. When the button was pressed I call a function and i want it to compare the users text with other values.

    I thought this would do it? (Abbreviation is the name of the textbox).

    function def()
    {

    if (document.all.Abbreviation.value == 'A') {
    document.all.Abbreviation.value='It worked';

    }

  2. #2
    Fanatic Member wildcat_2000's Avatar
    Join Date
    Nov 2000
    Location
    Italy
    Posts
    727

    Re: Retreive Text

    this is javascript.
    When your car breaks down,
    close all windows and retry

    => please rate all users posts! <=

  3. #3

    Thread Starter
    New Member
    Join Date
    Jul 2005
    Posts
    4

    Re: Retreive Text

    My Bad..

  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Retreive Text

    Moved from ClassicVB.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width