Click here to Skip to main content
15,891,248 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Web Application With Offline Capabilities Pin
The Man from U.N.C.L.E.25-Mar-10 1:12
The Man from U.N.C.L.E.25-Mar-10 1:12 
AnswerRe: Web Application With Offline Capabilities Pin
Not Active25-Mar-10 1:52
mentorNot Active25-Mar-10 1:52 
QuestionPassword Blocking Pin
Pradeep kumar.V24-Mar-10 18:24
Pradeep kumar.V24-Mar-10 18:24 
AnswerRe: Password Blocking Pin
Not Active25-Mar-10 1:48
mentorNot Active25-Mar-10 1:48 
GeneralRe: Password Blocking Pin
Pradeep kumar.V25-Mar-10 18:11
Pradeep kumar.V25-Mar-10 18:11 
AnswerRe: Password Blocking Pin
T M Gray25-Mar-10 8:29
T M Gray25-Mar-10 8:29 
GeneralRe: Password Blocking Pin
Pradeep kumar.V25-Mar-10 18:09
Pradeep kumar.V25-Mar-10 18:09 
QuestionJavascript printing question Pin
Jack Vanderhorst24-Mar-10 14:47
Jack Vanderhorst24-Mar-10 14:47 
In Javascript I am trying to create a new window, write some html into it, and then bring up the print dialog for this newly created window automatically.

The follow code demonstrates what I am trying to do, the new window appears and is successfully written to but the print dialog does not show up.

What gives?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Printing Example</title>

<script type="text/javascript" language="javascript">
function HelloPrint()
{
	var winPrint = window.open("", "");
	winPrint.document.write("<H3>Hello World</H3>");
	winPrint.print();
}

</script>
</head>

<body>
<a href="" onclick="HelloPrint()">Go</a>
</body>
</html>

AnswerRe: Javascript printing question Pin
Not Active24-Mar-10 15:17
mentorNot Active24-Mar-10 15:17 
GeneralRe: Javascript printing question Pin
Jack Vanderhorst24-Mar-10 15:19
Jack Vanderhorst24-Mar-10 15:19 
AnswerRe: Javascript printing question Pin
daveyerwin24-Mar-10 16:02
daveyerwin24-Mar-10 16:02 
GeneralRe: Javascript printing question Pin
Jack Vanderhorst24-Mar-10 16:03
Jack Vanderhorst24-Mar-10 16:03 
QuestionServer header-asp.net problem Pin
balu1234524-Mar-10 8:15
balu1234524-Mar-10 8:15 
AnswerRe: Server header-asp.net problem Pin
Martin Jarvis13-Apr-10 10:28
Martin Jarvis13-Apr-10 10:28 
QuestionCreating a html cookie Pin
esebagel24-Mar-10 6:28
esebagel24-Mar-10 6:28 
Questionbackground thread Pin
hb5213421424-Mar-10 6:26
hb5213421424-Mar-10 6:26 
QuestionTemplates in DW CS3 Pin
Razanust24-Mar-10 3:10
Razanust24-Mar-10 3:10 
AnswerRe: Templates in DW CS3 Pin
daveyerwin24-Mar-10 4:38
daveyerwin24-Mar-10 4:38 
QuestionBrowser Compatibility Issue? Pin
Razanust24-Mar-10 3:05
Razanust24-Mar-10 3:05 
AnswerRe: Browser Compatibility Issue? Pin
daveyerwin24-Mar-10 4:08
daveyerwin24-Mar-10 4:08 
QuestionJavascript IE 8 Issue Pin
salmonraju23-Mar-10 20:35
salmonraju23-Mar-10 20:35 
AnswerRe: Javascript IE 8 Issue Pin
daveyerwin24-Mar-10 2:59
daveyerwin24-Mar-10 2:59 
QuestionHow to pass form data to another form. Pin
esebagel23-Mar-10 9:28
esebagel23-Mar-10 9:28 
AnswerRe: How to pass form data to another form. Pin
Not Active23-Mar-10 9:38
mentorNot Active23-Mar-10 9:38 
GeneralRe: How to pass form data to another form. Pin
esebagel23-Mar-10 11:06
esebagel23-Mar-10 11:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.