S
S
Stalker_darkway2015-10-01 08:53:12
PHP
Stalker_darkway, 2015-10-01 08:53:12

How to send li to mail?

Hello.
There is a table created when you click on the "Add to cart" button.
A table is created, data, name and price are placed in li, that is, it is not input
Passed through ajax. I can’t figure out how to send this data to the mail, if it’s not input, Tell me in which direction to dig.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
Cat Anton, 2015-10-01
@27cm

Of course, the question is crazy ... There is no difference where the data was received from: from input or ajax. Send by mail the same way and there and there. And here the table, and how it is connected with the list element is not at all clear.

G
Gregory, 2015-10-01
@grigruss

If ajax, then you use JS at least.

var a=getElementById('id-li');
var textLi=a.text();

S
Sergey, 2015-10-01
@gangstarcj

mail();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question