Quantcast
Browsing latest articles
Browse All 5 View Live

How to redirect page to another url using Javascript?

Sometimes we have to redirect a page to another location. This can be achieved by using Javascript window.location method in the HTML page  using the following snippet. This script can be added...

View Article


How to get video id from a Youtube url in Javascript?

Snippet e.g. if the youtube, video url is: http://www.youtube.com/watch?v=xptDCPlSSfI& The snippet will return xptDCPlSSfI var url = “http://www.youtube.com/watch?v=xptDCPlSSfI”; var video_id =...

View Article


What is YUI Library?

<!–?xml version=”1.0″ encoding=”UTF-8″?–> The YUI Library is a set of utilities and controls, written with JavaScript and CSS, for building richly interactive web applications using techniques...

View Article

How to enable Javascript in Internet Explorer 8.0?

Depending on security settings Javascript could be disabled in Internet Explorer. This screencast shows how to enable Javascript for the same.   Steps In oder to enable JavaScript in IE, perform the...

View Article

How to create 2D Canvas in HTML5 using Javascript?

Snippet The following snippet shows how to create a div called as canvas (can be any name) and then in javascript we get the handle to canvas by calling document.getElementById method. Finally we get...

View Article

Browsing latest articles
Browse All 5 View Live