LonnieJohnson
Programmer
I am buldiing an app in asp.net 2.0.
I have some checkboxes. I want to be able to use java script to change the value of one boxes by clicking another. I actually want to say if box one gets clicked and it is true then the other two boxes are false.
My Code
ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
I have some checkboxes. I want to be able to use java script to change the value of one boxes by clicking another. I actually want to say if box one gets clicked and it is true then the other two boxes are false.
My Code
Code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Me.CheckBox1.Attributes("onclick") = "javascript:document.forms[0]['CheckBox2'].checked = true;"
Me.CheckBox1.Attributes("onclick") = "javascript:document.forms[0]['CheckBox3'].checked = true;"
End Sub
ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!