Re: How do I get HTML sent to server?



MC a écrit :

Just sending the data back will not work, as the client view may have html content from other sources in its view.

how that could be possible ?
Didn't you send the original html code ?

I understand that a screenshot would work...any ideas on sending one back to the server based on a .js event? I would really prefer to have a data image as I can encrypt that and still retrieve the data from it.

getting the image to data can be made on server, that is not the problem

it is :
- to realize a snapshot at the user
- to send back this snapshot
two operations impossible in JS

Is there any way to traverse and build the HTML and get the user entered data? This is the real question no one seems to be able to answer.

<http://stephane.moriaux.pagesperso-orange.fr/truc/innerHTML_danger>

As told you'll have to get all parts of the DOM while translating them in html without forgiving the content of forms's fields and other attributes of the tags and to put all that code in an hidden field sent with the form.
But this method (if it works) will not allow you to assure the user did really saw what you or I will see with this code.

The only possibly available method is to send back a PDF view of same html served with the form completed with what was sent back by the form, for agreement by user.

And what about certificates ?

What about forms in PDF ?
(I don't know how to send back a filed pdf form)

--
sm
.



Relevant Pages

  • Re: Jargons of Info Tech industry
    ... What an HTML interpreter does by _design_ is not in the same category ... I'm talking about what HTML is designed to do, which is to describe a presentation ... IMO pdf comes close. ...
    (comp.unix.programmer)
  • Re: Editors
    ... >> and simply split up the big HTML version Randy's already got? ... in something easier to browse than PDF files...to the point that both ... which about a decade ago now - Microsoft switched to these CHM files, ... RTF files don't come into this and would prove more horrible than what ...
    (alt.lang.asm)
  • Re: A prediction about the Presidential campaign
    ... easily done in straight HTML. ... There aren't any fonts that automatically use that ligature whenever ... I'm not a font designer. ... Easy in PDF: I just tell my graphing program to spit out ...
    (rec.arts.sf.fandom)
  • Re: Please Help! (Mail merge e-mailing with images in Body)
    ... Well the PDF way does not sound like what I want to do, ... I'll likely just go back to sending e-mails without images ... > an html merge with graphics to e-mail worked as you intended. ... > Word MVP web site http://word.mvps.org ...
    (microsoft.public.word.mailmerge.fields)
  • Re: reinventing the pdf wheel
    ... Yeah - tha's why I suggested using word to print HTML documents. ... about pdf generation, your suggestion has probably already been found less ... WTF would you make such a suggestion. ...
    (comp.lang.php)