<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: pass selected item from listbox of one form to text box of other form in javascript and html</title><link>https://www.infopathdev.com:443/forums/thread/25261.aspx</link><pubDate>Fri, 21 Dec 2007 18:25:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25261</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25261.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=25261</wfw:commentRss><description>&lt;p&gt;Is this a question about InfoPath? If so, I don&amp;#39;t understand exactly what you are trying to accomplish.&lt;/p&gt;</description></item><item><title>pass selected item from listbox of one form to text box of other form in javascript and html</title><link>https://www.infopathdev.com:443/forums/thread/25191.aspx</link><pubDate>Wed, 19 Dec 2007 11:31:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25191</guid><dc:creator>chintan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25191.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=25191</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;how to pass selected item from listbox of one form to text box of other form in javascript and html&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;i&amp;nbsp;call given given below&amp;nbsp;function &lt;/strong&gt;setpara() &lt;strong&gt;in onchange event of listbox control &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;function setpara()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //alert(&amp;#39;Hey I said not to try clicking this link&amp;#39;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.form11.t1.Value=document.f1.cns_1.getSelectedValue;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.form11.t2.Value=document.f1.cns_2.getSelectedValue;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;here t1 and t2 are textbox names&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;and cns_1 and cns_2 are listbox names&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;and f1 and form11 are form names&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;but stilll this code is not work&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;what to do...now&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>