Tag: code

JQuery Textbox Hint

In most of the websites, you might notice textboxes with gray text inside which explains what is it for, and when you focus on the textbox it disappears and reappears when you leave the empty textbox. To achieve this, what i do is:– get the hint text from title attribute of textbox.– Show hint text

JQuery Check/Select all Checkboxes

Using JQuery, i will show how to:– select all checkboxes in a page.– select checkboxes within one block or selected area(table or div).– check selective boxes within the block or page.(select boxes based on css class in block or page) Here is the working example: column1 column2 A B C D E F G H

How to Add Stylesheets for IE Only

It is very challenging to write only one CSS file to target all the browsers, especially to target IE. We can add the IE specific style sheets using conditional comments. So we have to add one global CSS file for all browsers, and one for IE only to override or add styles specific to IE.

Print a Part of Page using Javascript

do you want to print a part of the web page? do you have multiple print buttons in a web page, which prints portion of the page? do you want to exclude some elements in print of your page? (like images, ads) do you want to print the display page differently? (changing font or colors
Close Bitnami banner