Javascript lesson 9 - timer, reload, inserting buttons dynamically

preview_player
Показать описание
In this lesson we use buttons to display/hide content. We use a timer to run a specific function every time interval, and we also program a button to reload the page.

Рекомендации по теме
Комментарии
Автор

on chrome you can do ctrl-shift-i for any chrome users like me

lythd
Автор

setInterval() function multiply speed after second time if don't use location.reload() function.
Have no idea why.

bambooindark
Автор

hey Eddie!
i have a question.
how do i create a page that already displays a number lets say for example number of seats vacant for admission like 25.
when a user enters that he wants admission for 3 persons(or can be any random number entered by the user) the page should then accept it and display the number of seats vacant to 22.
can you please provide me the source code for this problem?

thanks,
Anket.

anketsah