Call Jquery base function in client side

Sipvionowhepe

New Member
I want call a simple function On client side event of one of my controls asp.net;but i'm unsuccessfully to do this.I'm new to jquery ...\[code\]<script type="text/javascript"> function UploadStart() { var FileName = $('#ctl00_MainPlaceHolder_AsyncFileUpload_ctl00').attr('value'); $('#txtLink').attr('value', FileName); $('#<%=BtnUpload.ClientID %>').css('display', 'none'); }</script>\[/code\]aspx :\[code\] </td> <td> <input type="text" id="txtLink" style="width:200px;" class="EngTextBox" /> </td> <td id="UploadControls" style="width:215px; text-align:center;"> <input type="button" id="BtnBrowseFile" class="BtnBack" value="http://stackoverflow.com/questions/12770795/?????? ????" /> <asp:Button Text="?????" ID="BtnUpload" CssClass="BtnBack" runat="server" OnClick="BtnUpload_Click" /> <asp:AsyncFileUpload ID="AsyncFileUpload" runat="server" OnUploadedComplete="Upload_Completed" OnClientUploadStarted="UploadStart();" /> </td> </tr>\[/code\]OnClientUploadStarted event must be do some jquery ticks ...
 
Back
Top