<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1037561" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1037561</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/passing-javascript-variable-inside-windowopen#comment-1215366</link>
    <description> &lt;p&gt;If you do something like this:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;var mywin = window.open (&amp;quot;http://localhost/date/chk.php&amp;quot;, &amp;quot;mywindow&amp;quot;,&amp;quot;width=300,height=300, location=yes&amp;quot;);&lt;br /&gt;mywin.foo = &amp;quot;value&amp;quot;;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;You&#039;ll find [incode]foo[/incode] is available to Javascript in the new window.&lt;/p&gt;
&lt;p&gt;If you want the Javascript variable to be passed by HTTP request, then you would do something like what you tried, without syntax errors:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;var mywin = window.open (&amp;quot;http://localhost/date/chk.php?check=&amp;quot;+check, &amp;quot;mywindow&amp;quot;,&amp;quot;width=300,height=300, location=yes&amp;quot;);&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 16 Feb 2007 21:06:38 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1215366 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
