Author Archives: Jeetendra Chauhan

About Jeetendra Chauhan

I am a s/w developer. love to code

handling keyboard event using JQuery

jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development you can download Jquery from here for keyboard event visit this link Below is a working example … Continue reading

Posted in HTML5 | Leave a comment

Loading an image and show in HTML5 canvas

Lets start our next javascript example, To test that everything is fine you can use alert for debugging purpose, if alert display its fine otherwise some issue with code <!DOCTYPE HTML> <html> <head> <script> window.onload = function(){ alert(“Everything Working fine”); … Continue reading

Posted in HTML5 | Tagged , , , , | Leave a comment

How to use HTML5 Canvas

Hi, If you are an “Action Script” developer you can assume HTML5 canvas element as Graphics Class in which you can draw shapes (line, circle,rectangle) etc. you can simply create canvas element by writing this code in your body tag … Continue reading

Posted in HTML5 | Tagged | Leave a comment

window.onload Whats it!

“window.onload” represent a event. This event occur when page finishes loading Ex: window.onload = functionXYZ; Here functionXYZ is the handler function to be called when the window load event fires. this should be your initialization point for JavaScript code. for … Continue reading

Posted in HTML5 | Leave a comment