How to upload the select drop-down box value to the id to implement code _ HTML/Xhtml _ webpage Creation

Source: Internet
Author: User
Uploading the value of the select drop-down box to the id is a matter of interest to netizens. I will search for it and share it with you. The complete code is as follows::
HTML code:

The Code is as follows:












The expected result is::
When I select "ems20" and click "freight" in the shipping mode drop-down box, I will use the total price of the store + 20 yuan. When I click "50 yuan" in the mail, the total price of the store is + 50 yuan.
I am talking about two places, because if he has two different sellers, there will be a total price of two sellers and the total price of the seller's goods.
The solution is as follows::

The Code is as follows:


Express: 10 yuan EMS: 20 RMB Normal mail: 50 RMB


Perform an operation on the "name =" postdb [youfei] "attribute and set the parameter postdb [youfei] in the action, that is, private String postdb [youfei], then generate the get/set method to get the value!

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.