Get the App
SLTechnology News&Howtos  ›  Development  › 

Example Analysis of the interaction between extjs and php parameters

Shulou Source: shulou.com Published: 2022-06-03 06:39:08 11月15日 Update

The editor will share with you an example analysis of the interaction between extjs and php parameters. I hope you will get something after reading this article. Let's discuss it together.

The code is as follows:

HelloWorld

Ext.onReady (function () {

Var requestConfig = {

Url:'loginServer.php', / / requested server address

Params: {userName:'lowkey', password:'zq19890319'}, / / request parameters

Method: "post"

Callback:function (options, success, response) {

Var msg= ["whether the request was successful:", success, "\ n"

"Server return value:", response.responseText]

Ext.Msg.alert ("prompt", response.responseText)

}

}

Ext.Ajax.request (requestConfig)

});

The copy code is as follows:

After reading this article, I believe you have some understanding of "sample Analysis of the interaction between extjs and php parameters". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Tags: Parameters code examples analysis success server article service login address done more knowledge industry information information channels channels tips Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn OPPO Reno MySQL Shulou Tech Info MariaDB