Jump to content

Pop Up Screen


php?

Recommended Posts

ok

 

<html>

<head>

<script type="text/javascript">

function alertValue()

  {

  //alert(document.getElementById('txt1').value);

 

 

 

myWindow=window.open('','','width=200,height=100')

myWindow.document.write(document.getElementById('txt1').value)

myWindow.focus()

 

 

  }

</script>

</head>

<body>

 

<textarea id="txt1">

Hello world....This is a text area

</textarea>

<br />

<input type="button" onClick="alertValue()"

value="Alert value" />

 

</body>

</html>

 

 

thats solved it

Link to comment
https://forums.phpfreaks.com/topic/71764-pop-up-screen/#findComment-361408
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.