PHP: how to change the uploaded text to complete-php Tutorial

Source: Internet
Author: User
PHP uploads files and how to complete the uploaded text



This is a static page. after uploading the file. In this sentence This sentence can be changed to uploaded. I wonder if it can be implemented.


Reply to discussion (solution)

When the upload is complete, use js to change the input value and onclick.

After the upload is complete, use javascript to obtain the button object var btn = document. getElementById ("button id"); btn. value = "complete"; then set the value attribute of the button.

Add upstairs: Finally, set the input property disabled = 'disabled '. this sentence can no longer be clicked.

It depends on what your startUploading function has done.
In the normal process, because your form does not specify the target attribute, the single page of the table does not exist after submission, and the need to modify button text does not exist. Taobaotaobao.com
Even though you can move back to the single table page to prepare for the next upload, what does this form do?

Yes.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.