Your Ad Here Your Ad Here
Results 1 to 4 of 4

Thread: javascript help

  1. #1
    blank BT Rep: +1
    Join Date
    Oct 2003
    Posts
    1,068
    ..
    Last edited by hungrylilboy; 01-08-2012 at 01:52 PM.

  2. Internet, Programming and Graphics   -   #2
    tesco's Avatar woowoo
    Join Date
    Aug 2003
    Location
    Canadia
    Posts
    24,069
    Not sure what you mean, If it's going to a new page why not just use <a href=""></a> ?

  3. Internet, Programming and Graphics   -   #3
    Member BT Rep: +2
    Join Date
    Jun 2006
    Posts
    39
    Quote Originally Posted by hungrylilboy
    I presume the easiest way would be to have a script reading whats in the text boxes?
    Thanks
    Well, I don't really understand what you are trying to do, but when it comes to reading text in textboxes, here goes:

    Read values by using:
    Code:
    <script Language="JavaScript">
    <!-- 
    function read()
    {
    alert(document.form_name.text_name.value);
    }
    -->
    </script>
    for this form:
    Code:
    <form name="form_name" method="get" onsubmit="javascript:read();">
    <input type="text" name="text_name">
    <input type="submit" value="Submit">
    </form>

  4. Internet, Programming and Graphics   -   #4
    Assign ids to the text boxes and then post the values to the linked page - grab the values in the linked page and show them as you want.

Bookmarks

Posting Permissions

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