You are here: Tips & Tricks
1Page 1 of 1Record 1 to 3 of 3

Tips & Tricks

When you coding for dynamic website, you may need to know screen resolution of the client's machine. How can you get it?

Favourite
VOTE 0

Making A Readonly Checkbox Without Grayed-Out

Tip & Trick » By Blue Cloud On Dec 23, 2011 10:29:36 PM ,

In some case, we want to display the read-only checkbox in our web form. So, the information cannot be changed. Sure, disabled control will do this but disabled controls change its appearance to grayed-out. We don't want it. There is the easiest way to do that with simple JavaScript. There may be another better way, but I normally use this. We can apply it for other controls as well. What you need to do is just add "onclick='return false;'" in control.

Favourite
VOTE 0

Making Numeric Only Textbox by Using JavaScript

Tip & Trick » By Blue Cloud On Dec 23, 2011 8:29:25 PM ,

There are several reasons we need to make numeric only textbox in our web form and here is how to restrict textbox input. Actually, it is not only for numeric textbox validation. It is also useful for many things. For example: textbox for email, phone number, Fax number and so on.

1Page 1 of 1Record 1 to 3 of 3