JavaScript/HTML Forms?

Discussion in 'Web Programming' started by SexayMistahBee, Dec 3, 2012.

JavaScript/HTML Forms?
  1. Unread #1 - Dec 3, 2012 at 2:26 AM
  2. SexayMistahBee
    Joined:
    Feb 28, 2006
    Posts:
    2,410
    Referrals:
    0
    Sythe Gold:
    27
    Discord Username:
    SexayMistahBee

    SexayMistahBee Sexiest Bee On Earth
    $50 USD Donor New

    JavaScript/HTML Forms?

    in this HTML tutorial,
    http://w3schools.com/html/html_forms.asp

    it says that the form element is
    <form>
    blahblah
    </form>

    but in this JavaScript one, it doesn't use any tags.

    What is the difference? :/
     
  3. Unread #2 - Dec 3, 2012 at 6:00 AM
  4. Terrankiller
    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    JavaScript/HTML Forms?

    One uses tags one doesn't use tags.
     
  5. Unread #3 - Dec 4, 2012 at 3:56 AM
  6. sm321
    Joined:
    Nov 2, 2011
    Posts:
    2,514
    Referrals:
    1
    Sythe Gold:
    0

    sm321 Grand Master

    JavaScript/HTML Forms?

    They are different languages. HTML uses tags such as <i> and </i>, <b> and </b> etc. JavaScript is used with parts of your HTML. For example, JavaScript could be used to check if the user had put text into the name field and not numbers.
     
  7. Unread #4 - Dec 4, 2012 at 3:47 PM
  8. Noam
    Joined:
    Jul 27, 2011
    Posts:
    2,993
    Referrals:
    1
    Sythe Gold:
    0
    Discord Unique ID:
    688859853535313930
    Discord Username:
    sarbaz#8969
    Two Factor Authentication User Gohan has AIDS

    Noam Apostle of the Setting Sun
    $50 USD Donor New Competition Winner

    JavaScript/HTML Forms?

    Javascript can be used to dynamically create forms with GetInnerHTML()
    That's pretty much it. Forms are nearly useless without any server-side application anyways, so you have to use PHP, ASP, or some other server side system to get anything to work.
     
  9. Unread #5 - Dec 5, 2012 at 5:49 PM
  10. Draucia
    Joined:
    Jan 17, 2009
    Posts:
    1,376
    Referrals:
    1
    Sythe Gold:
    0

    Draucia Guru

    JavaScript/HTML Forms?

    If you need some simple form, I would recommend you use PHP. W3schools has a nice tutorial on it.

    http://www.w3schools.com/php/php_forms.asp

    And what do you want to do with the data? If you want to insert it into a table, you can use mysql_query() to insert the data into a table of your choice. There's lots of tutorials on that on google, but if you need help creating a db, table, or inserting data tell me and I can guide you through it.
     
< PHP MYSQL job oriented training|Engineering final projects | HTML5 Canvas game - forksteroids >

Users viewing this thread
1 guest


 
 
Adblock breaks this site