Hello everyone.I need help with the file attached, I need that when the user clicks submit a word file or pdf pops up with the same website but with the input shown..how can i do this? if you know could you please at least show me a simple example or something, Ive been trying really hard but can't get nowhere
Please help with html
Crossbones+ - Reputation: 9045
Posted 10 June 2014 - 02:08 PM
Anyway, something like this should work:
# coffeescript # requires jQuery ($ '#cmd').click -> ($ 'input').each -> $this = $ @ $span = ($ '<span>').text $this.val() $this.after $span $this.remove() return returnGranted, it doesn't create a PDF or word document, but you could print the web page.
Edited by fastcall22, 10 June 2014 - 02:18 PM.
gzip: H4sIAAAAAAAEAG1QTUvEMBC991e8nvaiFfYoS7yo sLCo6MnjtJ1ugmkiyWRL/72z3T1YEQIJ8z4zA2Xp yPvt1qBpGrRFIJZkk9FyRyUzHCbKIHgn4hnZOrm1 TD0mG0HCCs+QGDGWziKXI6Wm2n++GYwUVH2mrGEE PnGCVQ8K8+JYfXA6URDEQfMZh5h6g5eoAlWJdeEI bbH2qYZf7XMUfw8f/Q0oMeZYNL9/WHF0uFEshvMr XYujd9SycFb+F18QcSOvlJauZ8ejqevdnV7/d550 e0t6prmunh73Bu+vz4c/XUeOQXfJgvKNkhf95U8/ Dtgmy5IBAAA=
Members - Reputation: 2113
Posted 10 June 2014 - 02:12 PM