javascript - Jquery generate html or php page -


it's posible generate file using jquery ? make web site maker. on left side have list of elements :

---------------------------------------------------------------- elements                                             attributes ----------------------------------------------------------------  ------------ |                                  |  align  4-col layout |                                  |  style                               3-col layout |                                  |--------------  2-col layout |                                  |  value  ------------ |    area drag             |  class  form         |     drag , drop                |  id  ------------ |       elements                   |---------------  input        |                                  |  onclick  button       |                                  |  onpress  ------------ |                                  |  onblure    etc...     |                                  |  --------------------------------------------------------------- 

am not looking code or example need idea. when 1 press on element button in right sidebar jquery list button attributes. work when done , want save web site dont have idea how , organise in folders css img js index.htm . posible jquery or php somthing this? done cant understand how do.

thanks idea.

you need use ajax accomplish , jquery has ajax functions. in essence store information generated code variable or array , send array php file/function writes data in db or file.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -