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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
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>
Pass string value in and return string value out
'moveToPoint()' Method
'moveEnd()' Method
Binary to Decimal
Create validation text field
Trigonometry Ratios
not(selector) filters out all elements matching the given selector
Running a Script from the onLoad Event Handler
Color from Hex value
IP Address
Append value to table body
Roman Numerals