thank you daniel for your reply,
actually, i solved my problem using:
- localstorage to save my data with json
- send data to php file using window.location.href
-treat my json data on php to get all informations and saving to txt file.
i know that is not the best way to do but when you’re newbie and don’t have enough time this the best way to do
my problem now is that when using window.location.href i go to another page, is it possible to do it in the same page using html widget or something else ?
i already tried the ajax method ( does’nt work for me ) i’ll retry it and keep you updated.