Results 1 to 3 of 3

Thread: Need some advice with Form action

  1. #1
    Join Date
    Dec 2011

    Need some advice with Form action

    Hi there,

    I need help grasping this,

    I'm currently learning html and I've come to a point in a tutorial where the below code is involved:

    <form action="#">
    <select name="favorite">
    <option value="HTML">HTML</option>
    <option value="CSS">CSS</option>
    <option value="Javascript">Javascript</option>
    The part that I don't understand is that form action equals hash ? As far as I know form action should equal a link and then the selected option value could then be stored in the link destination ?

    My question here is what does it mean when form action is equal to hash ?

  2. #2
    Join Date
    Apr 2003
    The form will just submit to itself.
    Add a submit button, chose an option and submit the form. Your choice can be see in the page url.
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    Apr 2010


    place the input button
    <input type="submit" value="Submit" />
    then submit it. you will display in the address bar it display the option you select.

    # mean it submit to itself and you should also place link in the #
    Like this
    <form action="submit.asp">

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles