<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1016397" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1016397</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/form-object-problem#comment-1095505</link>
    <description> &lt;p&gt;You the man!&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 Dec 2001 18:43:27 +0000</pubDate>
 <dc:creator>Hundley</dc:creator>
 <guid isPermaLink="false">comment 1095505 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/form-object-problem#comment-1095503</link>
    <description> &lt;p&gt;Just change this:&lt;/p&gt;
&lt;p&gt;if(url!=&quot;stay&quot;)&lt;br /&gt;
window.open(url); &lt;/p&gt;
&lt;p&gt;to this:&lt;br /&gt;
if(url!=&quot;stay&quot;)&lt;br /&gt;
location.href = url;&lt;/p&gt;
&lt;p&gt;- Ravi&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 Dec 2001 18:27:19 +0000</pubDate>
 <dc:creator>ravijp</dc:creator>
 <guid isPermaLink="false">comment 1095503 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/form-object-problem#comment-1095499</link>
    <description> &lt;p&gt;oh my goodness, it finally works! woooo hoooo!&lt;/p&gt;
&lt;p&gt;one quick question: how do I get the new pages to load in the same window and not in another window?&lt;/p&gt;
&lt;p&gt;Thanks again for your help!&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 Dec 2001 17:55:48 +0000</pubDate>
 <dc:creator>Hundley</dc:creator>
 <guid isPermaLink="false">comment 1095499 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/form-object-problem#comment-1095493</link>
    <description> &lt;p&gt;You can easily modify my script to do what you want:&lt;/p&gt;
&lt;p&gt;Remove the onChange=&quot;java script:loadSite();&quot; in my script and call it from the &quot;OnClick&quot; event ( tag) as I explained in my 2nd example.&lt;/p&gt;
&lt;p&gt;- Ravi&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 Dec 2001 17:20:26 +0000</pubDate>
 <dc:creator>ravijp</dc:creator>
 <guid isPermaLink="false">comment 1095493 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/form-object-problem#comment-1095489</link>
    <description> &lt;p&gt;I appreciate you suggestions and the fact that you have posted a working script above. I am following a particular format where I am requiring the user to select an option and then have to click on the continue button. Your example works properly and is a useful script to know but it is nonconforming to the rest of my web where I have similar situations occurring. I have an idea of what you are talking about with the &quot;selecting element&quot; but do not possess the knowledge to remedy the problem... That is where I was hoping you all would come into play!&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 Dec 2001 17:09:14 +0000</pubDate>
 <dc:creator>Hundley</dc:creator>
 <guid isPermaLink="false">comment 1095489 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/form-object-problem#comment-1095484</link>
    <description> &lt;p&gt;And forgot to add, your code will not work even if you make that change.&lt;/p&gt;
&lt;p&gt;Why?&lt;/p&gt;
&lt;p&gt;Because you are not checking for which &quot;select&quot; element is &quot;selected&quot; in your function.&lt;/p&gt;
&lt;p&gt;If you don&#039;t know what that means, then you won&#039;t be able to make your program works.&lt;/p&gt;
&lt;p&gt;So, whatever changes you make, it will *NOT* work.&lt;/p&gt;
&lt;p&gt;I pasted a fully working script earlier. Why can&#039;t you use it? Simply modify my url&#039;s to your local url&#039;s.&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 Dec 2001 15:10:53 +0000</pubDate>
 <dc:creator>ravijp</dc:creator>
 <guid isPermaLink="false">comment 1095484 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/form-object-problem#comment-1095483</link>
    <description> &lt;p&gt;You&#039;re calling onClick from the wrong place.&lt;/p&gt;
&lt;p&gt;It should be:&lt;/p&gt;
&lt;p&gt;Remove the other href onclick tag.&lt;/p&gt;
&lt;p&gt;Let me know if it works.&lt;/p&gt;
&lt;p&gt;- Ravi&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 Dec 2001 15:07:17 +0000</pubDate>
 <dc:creator>ravijp</dc:creator>
 <guid isPermaLink="false">comment 1095483 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/form-object-problem#comment-1095479</link>
    <description> &lt;p&gt;ok all - here is all of the code for the page... I still can&#039;t get it to work &quot;at all&quot; in NS 4.77...&lt;/p&gt;
&lt;p&gt;Untitled Document&lt;/p&gt;
&lt;p&gt;&amp;lt;script&amp;gt;&lt;br /&gt;
function getit() {&lt;br /&gt;
if ((document.former.word.value == &quot;1&quot;)) {window.location = &quot;index.html&quot;}&lt;br /&gt;
else if ((document.former.word.value == &quot;2&quot;)) {window.location = &quot;index2.html&quot;}&lt;br /&gt;
else if ((document.former.word.value == &quot;3&quot;)) {window.location = &quot;index3.html&quot;}&lt;/p&gt;
&lt;p&gt;}&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;br /&gt;
Please complete the following search criteria.&lt;/p&gt;
&lt;p&gt;                          &lt;img src=&quot;../../images/table_top.gif&quot; width=&quot;484&quot; height=&quot;18&quot; /&gt;&lt;/p&gt;
&lt;p&gt;                          *Indicates&lt;br /&gt;
                            a required field.&lt;/p&gt;
&lt;p&gt;                          &amp;nbsp;&lt;/p&gt;
&lt;p&gt;                          Client&lt;br /&gt;
                            ID Entered:&lt;/p&gt;
&lt;p&gt;                            123456789 &lt;/p&gt;
&lt;p&gt;                          *Please&lt;br /&gt;
                            Select a Product:&lt;/p&gt;
&lt;p&gt;          producta&lt;br /&gt;
          productb&lt;br /&gt;
          productc&lt;/p&gt;
&lt;p&gt;                          &amp;nbsp;&lt;br /&gt;
                          &lt;a href=&quot;#&quot;&gt; &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;                             &lt;/p&gt;
&lt;p&gt;                          &lt;img src=&quot;../../images/table_bot.gif&quot; width=&quot;484&quot; height=&quot;18&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 Dec 2001 14:26:50 +0000</pubDate>
 <dc:creator>Hundley</dc:creator>
 <guid isPermaLink="false">comment 1095479 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Cross-browser compatible</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/form-object-problem#comment-1095391</link>
    <description> &lt;p&gt;And yes, the script above works in all browsers.&lt;/p&gt;
&lt;p&gt;Ravi&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 Dec 2001 03:05:34 +0000</pubDate>
 <dc:creator>ravijp</dc:creator>
 <guid isPermaLink="false">comment 1095391 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Actual JavaScript code to make the drop-down work</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/form-object-problem#comment-1095390</link>
    <description> &lt;p&gt;This is what I&#039;ve done for my sites. &lt;/p&gt;
&lt;p&gt;Check out &lt;a href=&quot;http://www.CyberConneXions.com&quot; class=&quot;bb-url&quot;&gt;http://www.CyberConneXions.com&lt;/a&gt;&lt;br /&gt;
(see the drop down at the top right corner)&lt;/p&gt;
&lt;p&gt;I&#039;ve used a drop down to display links to my other sites&lt;br /&gt;
(all owned and designed and maintained by yours truly &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt; )&lt;/p&gt;
&lt;p&gt;I&#039;ve pasted both the javascript function and the&lt;br /&gt;
form (select) code below.&lt;/p&gt;
&lt;p&gt;Modify the links to suite your url&#039;s. Let me know if you need further help.&lt;/p&gt;
&lt;p&gt;I also run a mailing list for webmasters and&lt;br /&gt;
do-it-yourself web site owners, where I give away&lt;br /&gt;
a lot of such code for free. &lt;/p&gt;
&lt;p&gt;Feel free (pun intended) to sign up at&lt;br /&gt;
&lt;a href=&quot;http://www.CyberConneXions.com/totd&quot; class=&quot;bb-url&quot;&gt;http://www.CyberConneXions.com/totd&lt;/a&gt; if you care.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ravi&lt;/p&gt;
&lt;p&gt;function loadSite()&lt;br /&gt;
{&lt;br /&gt;
	var mySelect = document.networksites.networksites;&lt;/p&gt;
&lt;p&gt;	var url = mySelect.options[mySelect.selectedIndex].value;&lt;br /&gt;
	if(url!=&quot;stay&quot;)&lt;br /&gt;
		window.open(url);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;                  Other BabyNamesIndia.com Network&lt;br /&gt;
                  Sites&lt;br /&gt;
                  Write2Me.net&lt;br /&gt;
                  CyberConneXions.com&lt;br /&gt;
                  YehHaiIndia.org&lt;br /&gt;
                  BabyNamesIndia.com&lt;/p&gt;
 </description>
     <pubDate>Tue, 04 Dec 2001 03:03:11 +0000</pubDate>
 <dc:creator>ravijp</dc:creator>
 <guid isPermaLink="false">comment 1095390 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
