Hello!

There is a landing with the goods on a simple html + css:

alt text

By the principle of an online store, it is necessary to collect characteristics (color, size, quantity) from it and send it by e-mail by clicking on the button to place an order, which, in turn, enter the name and phone number. Tell me, please, how can this be done?

  • @alex_uni, If you are given a comprehensive answer, mark it as correct (click on the check mark next to the selected answer). - Vitalina

2 answers 2

It is necessary to collect in variables by request of the type var value = $('#_VALUE_CONTAINER_ID_).html(); where VALUE_CONTAINER_ID is the id of the span or div containing the value of the characteristic. After collecting the values, send them to the php-script via $.post() (google-search does not interfere).

In general, try to clearly set the task: at least a fragment of the source code in the studio ...

  • "In general, try to clearly set the task: at least a fragment of the source code in the studio ..." jsfiddle.net/qme344a6/1 - alex_uni

No matter how strange it may sound, you can do without PHP :)

  • And how can I serialize the elements of the LMS list [sizes] and color (picture) - because they are not classical input, textarea and select? - alex_uni