Web development
3
Using jQuery Datepicker and Dialog Box To Select Date Range
5 Comments
Web development, jquery
Using a jquery datepicker in a jquery dialog box to select a date range is a handy, slick way of having users input dates. Date handling and validation in forms when input by the user can be tricky at best. Here a modal dialog box will be used to allow the user to select a [...]
Tags: jquery
12
Positioning Multiple jQuery UI Dialogs
No Comments
Web development, jquery
This post shows one way to position multiple jQuery UI dialogs on the same page. It positions the dialog over the calling button based on the button’s position in the viewport. The dialog box contents can be placed anywhere in the body. For this example they look like this: <div id="helpDialog1" title="Help >> Dialog 1"> [...]
Tags: jquery
3
Printing a Dynamically Loaded Iframe with jQuery
No Comments
Web development, jquery
This is an example of printing a dynamically loaded iframe on a button click. This is useful for printing specific or generated reports or pages without leaving the current page. The iframe to be targeted looks like this and can be placed virtually anywhere in the body tag: <iframe id="iframeprint" width="1" height="1" frameborder="0"></iframe> The button [...]
Tags: jquery
18
Override “Print Background Colors and Images” Option in Browser
Internet Explorer and Firefox, to name a few, have an option that allows for the printing of background colors and images. The user can check this option to override the print style sheet and print the backgrounds that were removed to increase legibility, protect copyright, or whatever other reason was necessary. By default, this option [...]
7
Session Timeout Warning PHP Example with jQuery/JS
24 Comments
Web development, jquery, php
Updated 11-Jan-2010: Improved ability to adjust timeouts and simplified code a bit. Detecting and warning a user of their session timing out can come in handy and, in some cases, may be necessary. Here is one way of doing this with jQuery/javascript and PHP. There may be a better way to do this, so take [...]
