Results 1 to 4 of 4

Thread: Check for condition and display result to the user

  1. #1
    Join Date
    Aug 2013

    Check for condition and display result to the user

    How can i check for a condition in the if clause and call a function depending on the option chosen by the user

  2. #2
    Join Date
    Mar 2012
    There is no IF clause in HTML, indeed there isn't any variables to test with an IF clause anyway. If you are referring to JavaScript, there is good documentation available. Try here.

  3. #3
    Join Date
    Nov 2002
    Baltimore, Maryland
    JavaScript is likely to be V bad here. Too many of us turn the dang nuisance off or are using browsers that don't support it. Better to use some sort of server side scripting. What do you have available? PHP?
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  4. #4
    Join Date
    Mar 2011
    You need to tell us more about what you are trying to do. JavaScript may be a good solution, or a server-based script may be best. But we need more details.
    Rick Trethewey
    Rainbo Design

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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