Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes
CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes

JavaScript > Code Examples

A Browser History Count

A Browser History Count <html> <head> <title>Happy Codings :-) JavaScript Code Examples</title> <title>History Object</title> <script type="text/javascript"> function showCount() { var histCount = window.history.length; if (histCount > 2) { alert("You have been to " + histCount + " Web pages this session."); } } </script> </head> <body> <form> <input type="button" name="activity" value="My Activity" onclick="showCount()" /> </form> </body> </html>
Display current date: year, month day in number
Prompt message dialog after dropping
'forms' Object
Using Color Attributes: how document colors can be changed
'clipBottom' Property
Event 'propertyName'
Tag hover function
Close Window
Create dijit.ColorPalette programmatically
Odd number paragraph
Change background color
Open a new Window