function pageLoad() { //--------------company name------------- $("#nametextbox1").dblclick(function() { var selectedEffect = 'slide'; var options = {}; $( "#effect" ).toggle(selectedEffect, options, 500 ); }); $("#btnsavcm").click(function(event) { $("#effect").hide('slide'); }); }
<cc1:nametextbox ID="nametextbox1" runat="server" textcase="none" targetlabel="Company Name" onload="nametextbox1_Load" ></cc1:nametextbox>
function pageLoad() { //--------------company name------------- function togglecall(txtname,effect) { var selectedEffect = 'slide'; var options = {}; $( "#effect" ).toggle(selectedEffect, options, 500 ); } }
<cc1:nametextbox ID="nametextbox1" runat="server" textcase="none" targetlabel="Company Name" onload="nametextbox1_Load" ondblclick="togglecall(this,effect)" ></cc1:nametextbox>
this
effect
togglecall()
$(txtname).toggle(effect, options, 500 );
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)