goodday.php
<?php $txt = "Good Day !!"; ?>
<html>
<body>
<script language="javascript">
var str = '<?php echo "$txt"; ?>';
alert(str);
</script>
</body>
</html>
goodday.asp
<% txt = "Good Day !!" %>
<html>
<body>
<script language="javascript">
var str = '<%=txt%>';
alert(str);
</script>
</body>
</html>
| 2006/01/20 09:39 |
Trackback Address :: http://blog.raienet.com/trackback/198
