<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>smokeys_13's Feed - Programmer's Heaven</title>
    <link>http://www.programmersheaven.com/feed/User/346024/RSS.aspx</link>
    <description>Events at Programmer's Heaven related to the user smokeys_13.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Tue, 21 May 2013 00:14:45 -0700</pubDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <item>
      <title>document.form.input.value not staying</title>
      <link />
      <description>&lt;p&gt;Posted a 'new message on the JavaScript forum.&lt;/p&gt;Hey, I've used the document.value command/script loads in previous sessions, but I can't see what is going on with this one.&lt;br /&gt;
&lt;br /&gt;
##In the head section inside a &amp;lt;script&amp;gt; tag###&lt;br /&gt;
&lt;br /&gt;
function submit_wepname()&lt;br /&gt;
{&lt;br /&gt;
document.info_gather.weapon_name.value = preset_wepnames.dropdown_wep_choice.value;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
##In the body section##&lt;br /&gt;
&lt;br /&gt;
&amp;lt;form id="info_gather" name="info_gather" method="post" action=""&amp;gt;&lt;br /&gt;
&amp;lt;input type="text" id="weapon_name" name="weapon_name" value="test1" readonly="readonly"/&amp;gt;&lt;br /&gt;
&amp;lt;input type="text" id="attack_type" name="attack_type" value="test2" readonly="readonly"/&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When the javascript function is run (via a submit button) it works and the input value in the form changes to the appropriate value, but it then instantly flicks back to the default value (test1). Even if i put value="" it just flicks back to an empty input box. Any ideas? I'm guessing it's a simple thing that I'm gonna kick myself about =/</description>
      <pubDate>Sat, 12 Sep 2009 12:23:53 -0700</pubDate>
    </item>
  </channel>
</rss>