How to solve “Microsoft JScript runtime error: '[Method Name]' is undefined”

后端 未结 1 1999
野性不改
野性不改 2021-01-14 13:10

Here is my code:

<%@ Page Language=\"C#\" AutoEventWireup=\"true\" CodeBehind=\"Default.aspx.cs\" Inherits=\"WebClient._Default\" %>


        
1条回答
  •  南笙
    南笙 (楼主)
    2021-01-14 13:26

    Looks like the script tag for jquery is not closig properly unless you put a tag to close it, which renders those objects not readable, which gives you the error.

    Code below, hope this helps.

    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebClient._Default" %>
    
    
    
        
        
        
    
    
    
    
    
    

    0 讨论(0)
提交回复
热议问题