<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1002714" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1002714</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/sending-and-recieving-info-please-help#comment-1011961</link>
    <description> &lt;p&gt;You can&#039;t pass the variable, but if you click a link that uses the Query String, then the url for the next page will have the query string. &lt;/p&gt;
&lt;p&gt;The function is just supposed to grab the string and make it a variable. I didn&#039;t add anything else. I tested it with an alert, and it works as long as the page is called with a query string, try it here (click the Go button when you get there):&lt;/p&gt;
&lt;p&gt; &lt;a href=&quot;http://www.pageresource.com/zzztest/testjp.htm?hello&quot; class=&quot;bb-url&quot;&gt;http://www.pageresource.com/zzztest/testjp.htm?hello&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Of course, the variable can&#039;t be stored, it could only be used as part of a javascript on that page.    &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;I just read it in the NS docs, I was wondering about whether it would work as well.    &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;[This message has been edited by John Pollock (edited 13 December 1999).]&lt;/p&gt;
&lt;p&gt;[This message has been edited by John Pollock (edited 13 December 1999).]&lt;/p&gt;
 </description>
     <pubDate>Tue, 14 Dec 1999 01:13:00 +0000</pubDate>
 <dc:creator>John Pollock</dc:creator>
 <guid isPermaLink="false">comment 1011961 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/sending-and-recieving-info-please-help#comment-1011960</link>
    <description> &lt;p&gt;I don&#039;t think you can pass variables with JavaScript. The command  &lt;a href=&quot;http://www.home.htm?var=hello&quot; class=&quot;bb-url&quot;&gt;http://www.home.htm?var=hello&lt;/a&gt;  looks just like an example of ASP. &lt;/p&gt;
&lt;p&gt;John have you used your function get_qs() before? I can&#039;t really see what it is trying to do.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
 &lt;a href=&quot;http://go.to/hass&quot; class=&quot;bb-url&quot;&gt;http://go.to/hass&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 14 Dec 1999 00:35:00 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">comment 1011960 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/sending-and-recieving-info-please-help#comment-1011959</link>
    <description> &lt;p&gt;If you can use a Perl Script, you can get that variable using something like:&lt;/p&gt;
&lt;p&gt;$index_string= $ENV{QUERY_STRING};&lt;/p&gt;
&lt;p&gt;With JavaScript, I&#039;ll have to check, I can&#039;t remember if there is a way to it directly or if you have to split the document url. I&#039;ll get back if I find it.   &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;EDIT&amp;gt;&lt;br /&gt;
Aha, you can make it a js variable using the window.location.search property. This gets the variable and the ?, so you have to cut off the ?. I did it using the split method, but there may be an easier way:&lt;/p&gt;
&lt;p&gt;function get_qs()&lt;br /&gt;
{&lt;br /&gt;
 var qs=window.location.search;&lt;br /&gt;
 var qs_arr=qs.split(&quot;?&quot;);&lt;br /&gt;
 var your_var=qs_arr[1];&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;The variable your_var is the end result. It should be whatever is after the ?.  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/EDIT&amp;gt;&lt;/p&gt;
&lt;p&gt;[This message has been edited by John Pollock (edited 13 December 1999).]&lt;/p&gt;
 </description>
     <pubDate>Mon, 13 Dec 1999 23:22:00 +0000</pubDate>
 <dc:creator>John Pollock</dc:creator>
 <guid isPermaLink="false">comment 1011959 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
