Some common questions about ASP (III.)

Source: Internet
Author: User
1. The entire page has no submit button, there is no related script, only <input type= "image" ""??
The first question is the basic knowledge of HTML, the default action of the image element is submit.
2. The file size can be displayed on the page after adding the attachment, but the page is not refreshed.
If the ASP, to use RS bar, even if other Dongdong client also have corresponding script it.
But view source did not have a sentence <script>!! Confused!
A: The second question you describe is not correct, it is actually submitted to the server after processing before you know
How large the file is, as to what you said did not refresh, may be due to the small file you uploaded,
Fast, and the original page is not a few words, so show very quickly, refresh the most obvious
The logo is the contents of the Upload text box is gone ...
3. How does multiple submit of a form discriminate on the server side? No use hidden.
A: That's why I use image instead of submit ...
If you are using submit, because a form can only have one submit, and
If you need to complete multiple submissions, it's not enough ...
But use image is OK, because click each image is quite with submit.
And as long as the service side to determine whether Request.Form ("image name.x") is empty can
Know is the click of which submit ...
A lazy way oh ...
4. Please tell me how to insert the picture.
A: Rnd did not initialize it (Randomize ())

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.