Javascript Explorer Snippets


This example code showing how to use PHP Functions to clean User Input

28 January, 2012   

JavaScript Code example to choose a page and Jump

10 June, 2013   

A function that returns an array of elements based on DOM element, tag, and class name. For instance, getElementsByClassName(document, 'tr', 'info') will return an array of all "tr" tags under the document node having the "info" class.

23 February, 2012   

XML Code to display XML data in an HTML table

19 July, 2012   

PHP code to encode any email address into HTML entities so that spam bots do not find it

28 January, 2019   

Usually, when one event loads, it writes over any previous ones. Using this snippet, you can add several events to one page without any problems.

09 March, 2011   

Default XHTML start code for designing a layout or template for your website. Great for working on several clients/projects and do not want to retype this code over and over again.

How to disable Future Dates in AJAX Control Toolkit CalendarExtender Control. Author of this code is Mudassar Khan

12 May, 2012   

How to prevent users from selecting past or previous day dates in ASP.Net AJAX Control Toolkit CalendarExtender control. Author of this code is Mudassar Khan

01 January, 2013   

Basic template for xhtml transitional

16 October, 2014   

When hover your mouse over a link, a small box containing contents from another page comes up. This will show the iframe with scrollbars if content (target page) is too big.

11 November, 2013   

These are two JavaScript functions that should of course be properly called on "onkeyup" event in the appropriate fields.

17 September, 2014   

PHP example code for using MySQL and a contact form to allow a group of users on a site to contact each other safely.

30 April, 2011   

Countdown to the start of Summer in the Northern Hemisphere: June 21, 2011; 1:16 PM Eastern Daylight Time (EDT)

JavaScript code to get time intervals between two Dates

24 July, 2016   

Dynamically add form fields to your forms.

02 August, 2012   

CSS Clay Bricks Menu by Dynamic Drive

13 April, 2013   

How to resize an image to fit in a desired space.