Click to See Complete Forum and Search --> : image attach and print page functions???
Scotrane
06-24-2003, 08:48 AM
I have created the print page js for printing a pop-up window that has a single image for the body, yet I don't know the code to have this image attached to an email from another button within the body.
thanks for any help.
Khalid Ali
06-24-2003, 09:08 AM
R you using some server side programming to process the submitted info?
If yes then you should be able to retrieve the image..otherwise with just html submit via an email you can not get images,the best will be the path sent via an email submit.
Scotrane
06-24-2003, 09:30 AM
Here is the url to the parent page for this issue: http://www.bridgewaterlimited.com/DeSt.htm
when the user clicks on 'print or email this card' a new window opens with the business card. The idea is to have a "print this card" button and "email this card" button.
If I were to create this new pop-up in DHTML I could pull the image from the server and attach it in a 'mailto:' script?
brendandonhue
06-24-2003, 11:12 AM
mailto: is not a script-and it should not be used for sending emails from a webpage.
It does not send an email-it runs the client's email software and inserts the message for them, where they are free to edit or change it.
JavaScript can not process forms. You should use serverside code to do this stuff.