Tutorials about javascript

Count characters in text area using javascript

Today i will explain you how we can count the remaining characters in text area. This is the same as we see in old twitter. First i show u by pictures how this looks like:- When the remaining characters becomes 0 or negative then it shows in red color. The code of the file looks like this:-   <!DOCTYPE HTML> <html> <head> <title>Count [...]

By |2014-07-31T12:30:09+00:00May 8, 2011|Javascript Tutorials|0 Comments

Change background of page using javascript

In this article i will tell you how you can change the background of the page using javascript. First i have made 4 buttons and put the value of these buttons as Red, green, blue and yellow. Then i write javascript code in onclick attribute which changes the background color when the user click on the page. I have used javascript:document.bgColor in the onclick action and assign some [...]

By |2017-09-12T19:15:34+00:00May 7, 2011|Javascript Tutorials|0 Comments
Go to Top