最近工作比较闲,可以静下心来研究自己感兴趣的问题.AjaxPro框架是一个有点历史的.net上的Ajax框架了,使用起来非常方便,一直想了解它究竟是怎么实现的,现在终于有时间啦!

前台代码:

<body>
    
<form id="form1" runat="server">
    
<asp:TextBox ID="txtData" runat="server"></asp:TextBox>
    
<input type="button" onclick="getdate()" value="aaaa" />
    
</form>

    
<script>
        
function getdate() {
            _Default.GetData(
function() { alert(0); });
        }
    
</script>
</body>

相关文章:

  • 2021-04-05
  • 2021-07-06
  • 2021-10-18
猜你喜欢
  • 2021-12-23
  • 2022-02-01
  • 2022-01-07
  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2021-11-19
相关资源
相似解决方案