how to save dynamically changed ( byjquery ) html DOM?

前端 未结 3 1421
挽巷
挽巷 2021-02-01 08:39

I got some nice layout generator using jquery dynamic forms, and jquery ui features to change number of used elements, their css properties etc. Everything looks great but there

3条回答
  •  攒了一身酷
    2021-02-01 09:03

    As a first step you can use

    var $alteredHtml = $('html').clone();
    // use jQuery here to make alterations to the cloned html (parse it)
    

    but to save it you will need some server side technology, to either save it to a file or a database.

提交回复
热议问题