Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the redundant Get requests of Jquery uploadify

Shulou Source: shulou.com Published: 2022-06-01 02:43:05 09月22日 Update

Most people do not understand the knowledge points of this article "how to solve Jquery uploadify redundant Get requests", so the editor summarizes the following contents, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "how to solve Jquery uploadify redundant Get requests" article.

If you do not set the button_image_url parameter when using jquery uploadify, there will be some redundant get requests, or even an error of 404, which is a bug of the plug-in. The official solution is as follows:

Find the following code:

This.settings.upload_url = SWFUpload.completeURL (this.settings.upload_url); this.settings.button_image_url = SWFUpload.completeURL (this.settings.button_image_url)

Modify to

This.settings.upload_url = SWFUpload.completeURL (this.settings.upload_url); this.settings.button_image_url = this.settings.button_image_url? SWFUpload.completeURL (this.settings.button_image_url): the above this.settings.button_image_url is about the content of this article on "how to solve the redundant Get requests of Jquery uploadify". I believe everyone has a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.

Tags: Content articles knowledge articles code values parameters most officially that is plug-ins solutions more steps knowledge points industry solutions information channels this is Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi OPPO Reno MariaDB Xiaomi Docker