<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1015239" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1015239</link>
    <description></description>
    <language>en</language>
          <item>
    <title>You got it.</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/passing-data-specific-textbox#comment-1088023</link>
    <description> &lt;p&gt;yes...thanx for the input guys...&lt;/p&gt;
&lt;p&gt;so the next thing i have to do now is validate if&lt;br /&gt;
the user had selected/clicked a textbox before selecting&lt;br /&gt;
an item in the list box...&lt;/p&gt;
&lt;p&gt;thanx again and more power...&lt;/p&gt;
 </description>
     <pubDate>Mon, 27 Aug 2001 01:31:24 +0000</pubDate>
 <dc:creator>dudyboy</dc:creator>
 <guid isPermaLink="false">comment 1088023 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>A better idea!</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/passing-data-specific-textbox#comment-1087954</link>
    <description> &lt;p&gt;Here is a better example using the onFocus event to set the target field instead of buttons - but alas, doesn&#039;t work in NN4. Works well in IE4+ and should work in NN6. You could add some server-side browser detection (or maybe client-side) to go either &#039;buttons&#039; or &#039;onFocus&#039; . You&#039;ll have to muck around with it.&lt;/p&gt;
&lt;p&gt;Untitled Document&lt;/p&gt;
&lt;p&gt;&amp;lt;script language=&quot;JavaScript&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
&lt;p&gt;    Guy Hopkins&lt;br /&gt;
    Erin Grubb&lt;br /&gt;
    Justin Madden&lt;br /&gt;
    Andy Reynolds&lt;/p&gt;
&lt;p&gt;Untitled Document&lt;/p&gt;
&lt;p&gt;&amp;lt;script language=&quot;JavaScript&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;function setTextBox(tbox)&lt;br /&gt;
{&lt;br /&gt;
   parent.topFrame.document.form1.textbox.value = tbox;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/script&amp;gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 25 Aug 2001 05:22:24 +0000</pubDate>
 <dc:creator>Guy Hopkins</dc:creator>
 <guid isPermaLink="false">comment 1087954 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/passing-data-specific-textbox#comment-1087952</link>
    <description> &lt;p&gt;The way I see it, you would have to put a button for each textbox in the top frame with the dropdown menu. Then you can select an item from the list, and place it into one of the textboxes by pressing the corresponding button.&lt;/p&gt;
&lt;p&gt;ie:&lt;br /&gt;
on the buttons in the top frame(next to the dropdown menu):&lt;/p&gt;
&lt;p&gt;onClick=&quot;insertSelection(&#039;textbox1&#039;);return false;&quot;&lt;/p&gt;
&lt;p&gt;you could have this function call on each button, passing the name of the textboxes ie; textbox1, textbox2 textbox3 etc. as parameters.&lt;/p&gt;
&lt;p&gt;then a function like:&lt;/p&gt;
&lt;p&gt;function insertSelection(textbox)&lt;br /&gt;
{&lt;br /&gt;
  var obj = eval(&#039;parent.mainframe.document.form.&#039;+ textbox);&lt;br /&gt;
  obj.value = this.document.dropdownmenu.value;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;So if you hit button 1 after you select an item, you will insert the selected item into textbox1 in the other frame, just make sure everything is named correctly.&lt;/p&gt;
&lt;p&gt;Good luck,&lt;/p&gt;
&lt;p&gt;Go!&lt;/p&gt;
 </description>
     <pubDate>Sat, 25 Aug 2001 04:25:59 +0000</pubDate>
 <dc:creator>Guy Hopkins</dc:creator>
 <guid isPermaLink="false">comment 1087952 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>broadstrokes</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/passing-data-specific-textbox#comment-1087929</link>
    <description> &lt;p&gt;I&#039;m not entirely sure where you&#039;re going here, but here are some broadstrokes that may help.&lt;/p&gt;
&lt;p&gt;In the DOM, each form has a value, and each field in a form has a value.  Within frames, each frame has a value.  Using JavaScript, you would target the different frames, forms and fields in order, like an onion.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;document.frame.forms.field.value&lt;/strong&gt; (you&#039;ll have to look up the actual names, I&#039;m guess-remembering).&lt;/p&gt;
&lt;p&gt;As such, in order to take something from one field and plunk it in another, you simply need to give it accurate directions.&lt;/p&gt;
&lt;p&gt;By default, these values are [0] and up, like forms[0], however you can name each piece in the HTML like  and  and then you can control it with JavaScript by using...&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;document.smith.abigail.email.value&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I hope that is of some help.&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; Suzanne&lt;/p&gt;
 </description>
     <pubDate>Fri, 24 Aug 2001 17:20:17 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1087929 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/passing-data-specific-textbox#comment-1087890</link>
    <description> &lt;p&gt;yes...thats what i mean...&lt;/p&gt;
 </description>
     <pubDate>Fri, 24 Aug 2001 08:55:49 +0000</pubDate>
 <dc:creator>dudyboy</dc:creator>
 <guid isPermaLink="false">comment 1087890 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/passing-data-specific-textbox#comment-1087886</link>
    <description> &lt;p&gt;Uhm... don&#039;t exactly undastand what u say...&lt;/p&gt;
&lt;p&gt;You want a list item put in the textbox that was last focused?&lt;br /&gt;
Is that your problem? (if yes, I would have no idea how to fix it... &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt; )&lt;/p&gt;
 </description>
     <pubDate>Fri, 24 Aug 2001 08:07:07 +0000</pubDate>
 <dc:creator>Jack Michaelson</dc:creator>
 <guid isPermaLink="false">comment 1087886 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
