Recently, easyui was started, and the latest version 1.3 was downloaded. Easyui is powerful and easy to use. However, many problems have been encountered during the busy process. When getting the DataGrid method (I call it this way ), it was found that opening the demo in a browser can be normally displayed, but it is not visible to the IIS, Which is puzzling. At first, I thought it was wrong to request the data page path, I tried it many times and never solved it until I got off work. When I came back from work in the evening, I continued to perform some tricks and accidentally searched. Someone in open source China said that this is because "easyui URL is post by default, some servers do not support post to static text. If you believe it or not, you can use firebug of Firefox to see that it is a 405 error. The solution is to change it to get, method = "get" (in HTML), method: "Get" (in JS) ", and use firebug to check whether it is 405, the error message is as follows:
I am not familiar with IIS configuration, and I am too lazy to get it. I just copied the data in JSON, created an HTML file, saved it, refreshed it. Finally, the data is displayed normally.