Jump to content

Search the Community

Showing results for tags 'javascirpt'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Job Boards
    • Jobs
  • Community Lounge and FAQ
    • Forum News
    • Open Forum
    • New Members Forum - Start Here!
  • Entrepreneurship, Business and Marketing
    • Social Media Marketing & Web Marketing
    • Entrepreneurship
    • Career Questions - Asked and Answered
  • StudioWeb
    • StudioWeb
    • StudioWeb News
    • StudioWeb Projects
  • Programming
    • Python
    • Javascript
    • PHP
  • Web Design
    • Beginners Web Design
    • HTML/XHTML
    • Dreamweaver
    • CSS
    • Advanced Web Design
    • Business of Web Design
    • Web Design News
  • Miscellaneous
    • Cybersecurity
    • Miscellaneous Software
    • Blogs and CMS
    • Web Accessibility
    • Peer-to-Peer Reviews
    • Website Templates
    • Web Design Jobs
    • Test Forum
  • Archives
    • Beginners Web Design
    • Course: The Complete Entrepreneur
    • Web Accessibility
    • Photoshop
    • CSS
    • Forum Rules and Etiquette
    • Flash
    • ASP
    • General Programming
    • Expression Web
    • Beginners Ruby
    • Killersites University
    • Actionscript

Calendars

  • Community Calendar

Categories

There are no results to display.

There are no results to display.

Product Groups

  • Business & Entrepreneur Courses

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website


LinkedIn


Facebook


Twitter


AIM


Yahoo


Other


Location


Interests

Found 3 results

  1. I have created the following html page in Dreamweaver. When the user enter an age >39 the webpage must load else the alert message must be displayed. What am I doing wrong? <!DOCTYPE html> <html> <body> <h2>HTML Forms</h2> <form action="" onSubmit="myFunction()"> <label for="fname">First name:</label><br> <input type="text" id="fname" name="fname" value=""><br> <label for="lname">Last name:</label><br> <input type="text" id="lname" name="lname" value=""><br><br> <input type="submit" value="Submit"> </form> <script type="text/javascript"> function myFunction(){ var fname = document.getElementById("fname").value; if(fname > 39) { loadPage('http://www.mdrtrust.co.za');>Home<div> } else alert("Condition Not met") } </script>
  2. How to stop and play gif dice without using any plugin. Code / Examples please
  3. Hi everyone, I need some help regarding the topic of while loop mentioned in ch7 lesson3. I'm stuck for first time in this course. Till now everything was super easy, but now I really don't understand what's going on in this loop. There is that loop: var loopCount = 5; while(loopCount > 0) { var target = document.getElementById("target"); target.innerHTML = "LoopCount: " + loopCount + "<br>" + target.innerHTML; console.log("LoopCount is now: " + loopCount); loopCount = loopCount -1; } In console result looks like this: LoopCount is now: 5 LoopCount is now: 4 LoopCount is now: 3 LoopCount is now: 2 LoopCount is now: 1 End loop but in html it starts from 1 to 5, why?: LoopCount: 1 LoopCount: 2 LoopCount: 3 LoopCount: 4 LoopCount: 5 I don't understand that line: target.innerHTML = "LoopCount: " + loopCount + "<br>" + target.innerHTML; Since in the beginning variable loopCount is set to 5, why in html it starts with 1. Where is it come from? Thanks
×
×
  • Create New...