SitePoint Sponsor

User Tag List

Results 1 to 8 of 8

Threaded View

  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2001
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Get form value with javascript

    Hi,

    I have a form with two fields, Item_Price and Item_Name

    Item_Price looks like this:

    <select name="Item_Price">
    <option value="19.95">24" x 36" - Photo Glossy Paper</option>
    <option value="24.95">24" x 36" - Satin Finish Paper</option>
    </select>

    Item_Name needs some javascript to do this:

    <input type=hidden name="Item_Name" value="get the value of Item_Price option (not option value)">

    Thanks in advance
    Last edited by ee-o; Sep 25, 2001 at 04:19.


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
  •