Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Countdown Timer or JavaScript replacing HTML

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm working on a school assignment which asks us to create a countdown timer that when the user clicks a button a countdown begins. I've got a button that when clicked starts the countdown and in html what looks like the countdown clock. The problem is that when the countdown button is clicked the screen displays both the html clock and the javascript countdown. My question is: "is there a way to replace the html code with the javascript so that once the countdown begins only one timer is displayed?" I appreciate any time and assistance.

    Bookmark Topic Watch Topic
  • New Topic