Thursday, July 06, 2006

isChecked Function

This is a function that I wrote to check whether a value is true in order to determine if a checkbox or a radio button is checked.

Use would be something likethe line below but with the {} replaced by <> if the value passed were true the box would be checked when the page loads.

{checkbox name="cbxOne" value="1"<%=isChecked(value)%>}

Click here to view the function.

Labels: , , ,

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home