ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-admin
perl-win32-admin
cgi-perl: embedding javascript in perl (mistake in first mail)
by Dhivya Arasappan/O/VCU other posts by this author
Aug 14 2006 1:59PM messages near this date
view in the new Beta List Site
Dealing with standby mode | RE: cgi-perl: embedding javascript in cgi-perl
<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2> I'm sorry. I was t
rying to simplify the code to mail to the mailing
list and made a silly mistake in the argument names. This is not the
problem in the actual code.<br> 
<br> 
So,the problematic code actually looks more like:<br> 
<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"> <p style="margin
: 0px;"> <br>
</p> 
<p style="margin: 0px;"> <font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" s
ize="2"> <p style="margin: 0px;">&nbsp;<span style="font-style: italic;"> 
</span> </p><p style="margin: 0px; font-style: italic;">$testvar = 'www.google.com'; 
</p> <p style="margin: 0px; font-style: italic;">print("&lt;input type=button value = 'callsi
te'
<br> onclick='popwindow($testvar);'&gt;");
</p> <p style="margin: 0px; font-style: italic;">&nbsp;
</p> </font><br style="font-style: italic;"><span style="font-style: italic;">function popwin
dow(url){
</span> </p>
<p style="margin: 0px;"> <span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs
p;&nbsp; newwindow=window.open(url,'test','height=400,width=200');
</span> <br style="font-style: italic;"><span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp; if(window.focus){newwindow.focus()}
</span> <br style="font-style: italic;"><span style="font-style: italic;">}</span><br>
</p> 
<p style="margin: 0px;"> <br>
Sorry about that confusion. <br> 
</p> 
<p style="margin: 0px;"> <br>
thanks<br> 
</p> 
<p style="margin: 0px;"> dhivya<br>

</p> 
</font> <br>
</FONT> 

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved