Jquery Time Snippets


JavaScript code to get time intervals between two Dates

24 April, 2012   

Example shown here how to Reuse Your Element Searches

21 April, 2012   

Retrieves a list of "on call" incidents for the most recent time period. Selects all Support Analysts.

08 February, 2016   

A type of replacement function within the SELECT statement.

18 November, 2015   

Bind onload function to the iFrame and set the size of the iFrame to the iFrames loaded content. In the example jQuery is used.

13 December, 2015   

Bind onload function to the iFrame and set the size of the iFrame to the iFrames loaded content. In the example jQuery is used.

30 August, 2011   

This snippet to show how to use the Last-Modified and the ETag header to optimize the caching of a website. If used correctly this will speed up your page loads.

22 August, 2011   

Here shown how to center an element on screen

This function returns the duration of the given time period in days, hours, minutes and seconds. For example: echo convertSecToStr('654321'); would return "7 days, 13 hours, 45 minutes, 21 seconds"

24 December, 2012   

jQuery Code example for Tab On Return Key Press

Mysql Code example to find events made between two times not between two dates.

25 April, 2011   

HTML5 starting point template. Used in conjunction with HTML5 CSS reset at the above link.

07 February, 2011   

If you don't set the wmode on a flash embed it will float over the top of an overlay which can be a pretty big deal. This is ideal in environment with lots of legacy video code or where users will be posting new code and teaching them about wmode is a lost cause. This should work in all browsers.

26 February, 2011   

Here shown how to highlight syntax

04 February, 2011   

Call Function with Random Timer

13 October, 2012   

Code example to show current date and time

03 November, 2011   

Here are some simple examples of using the functions with your variables. Run these from any ".asp" page and watch what happens

16 February, 2011   

HTML5 Article Structure with hNews

HTML5 code for Article Structure with hNews

Handy helper function which parses about any date and returns the same date in MySQL date/time format.