1Page 1 of 1Record 1 to 2 of 2

Latest Entries

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

Check/Uncheck All the CheckBoxes of Given Element | JavaScript

Code Snippet » By Blue Cloud On Dec 22, 2011 7:20:14 AM ,

This javascript function can find all the checkboxes in given container and change the checked state.

1Page 1 of 1Record 1 to 2 of 2