0

Need to save multiple values in data base

Span generated dynamically and need to save multiple strings in span and after fetch values from span in php file and save into data. please help.

27th Dec 2017, 1:26 PM
Mohit Sharma
Mohit Sharma - avatar
1 Answer
+ 1
In jQuery, to save data, you can use : $("span").data("XD", "your data"); and to get data, use : $("span").data("XD"); will return : "your data"
15th Jan 2018, 1:05 AM
José Ngoyi
José Ngoyi - avatar