asp Checkbox on click event

P

Phils

I have a simple problem but after an afternoon of searching still cant
get a solution.

I have an asp checkbox on my form that i want to, when checked, enable
a textbox. when the checkbox is unchecked the textbox becomes disabled
again. i want to use some client side script as i dont want to always
post back for such a trivial thing. how would you create a java
function to disable the text box when the checkbox is checked and how
would you link the checkbox to the javafunction. i know nothing about
Java script

any ideas??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,816
Latest member
nipsseyhussle

Latest Threads

Top