March 7, 2012
How to add image button to a link using html in javascript
Question by rcky
The image button is not working perfectly.. any suggestions ?
The current code on which i am working is:-
var generator = window.open ();
generator.document.write('<html><head><title>Pop uP</title>');
generator.document.write('<p style="color:#C52B27;">');
generator.document.write(message);
generator.document.write('</p>');
generator.document.write('</head><body>');
generator.document.write('<a href="javascript:self.close()"><img src="/img/save_orange.gif" border=0"></a>');
generator.document.write('</body></html>');
generator.document.close();