0

您好我有一个简单的查询,我无法从 html 超链接选项卡调用该方法,下面是代码:

<a href="#" id="startUploadLink">Start Upload</a>

     $("#startUploadLink").click(function () {
         $('#<%=FileUpload1.ClientID%>').uploadifyUpload();
          //I want to call a method here which is on server side which is bindData()
           return false;
     });

aspx.cs:

protected void bindData()
 { caravans.InsertImages() }
4

1 回答 1

0

查看PageMethodsjQuery 的 ajax()

于 2011-04-18T16:46:51.777 回答