Getting a runtime error when I have a print button in a JSP page
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shveti_Shah
Posted On:   Wednesday, November 14, 2001 01:39 PM

I have the follwing code:

onClick="printPreview()">

The printPreview function is in Javascript:
function printPreview()
{
tPrint = window.open("solict_p.jsp","","height=500,width=900,
menubar=yes,toolbar=yes,resizable=yes,scrollbars=yes");
return true;
}

Re: Getting a runtime error when I have a print button in a JSP page

Posted By:   Pablo_Gosse  
Posted On:   Wednesday, November 14, 2001 05:51 PM

value+"Print Version" should be value="Print Version".

The + in js is the concatenation operator.

P.

Re: Getting a runtime error when I have a print button in a JSP page

Posted By:   Joe_Pollard  
Posted On:   Wednesday, November 14, 2001 02:55 PM

You might try to submit this question to the JavaScript Forum... This is not a JSP question....
About | Sitemap | Contact