hi to all,

i need help.
i have one textbox and one checkbox.textbox is disabled.i have to enable the textbox by verify the user using checkbox.for this i have a pop up window where user is verified.after submit this window,i have to enable textbox.

here is my code

<asp:TextBox ID="pcard" runat="server" Enabled="false"></asp:TextBox>
<a href="javascript:;" onclick="window.open('pre_card.aspx?textbox=pcard','cal','width=250,height=150,left=270,top=180')">
<asp:CheckBox ID="pno" runat="server" onclick="javascript:enable();" /></a>

function enable()

var v;
v = document.form1.pcard.value;

if(v == "abc")
document.form1.pcard.value ="";
this works fine after getting the value of textbox.
plz tell me, on which event i have call this function.
onfocus,onblur dosen't work due to textbos is disable.

thanks a lot.