hi,
use this in C#,
controlId.Attributes.Add("onClick",function_name());
eg,
< asp:textbox id=txtname runat=server / >
txtname.Attribute.Add("onChange",check());
and this in HTML,
< script language="javascript" > function check() { alert("checking"); } < /script >
|
No responses found. Be the first to respond and make money from revenue sharing program.
|