Hidden field not updated from ASP.net javascript
<p>Trying to update a hidden field value by running a javascript from asp.net code behind. The code below is in an asyncfileuploader uploadcomplete.</p>

<pre><code>If (Not ClientScript.IsStartupScriptRegistered("lowResTrue")) Then
   Page.ClientScript.RegisterStartupScript _
   (Me.GetType(), "lowResTrue", "lowResTrue();", True)
End If
</code></pre>

<p>Javascript</p>

<pre><code>function lowResTrue() { 
  document.getElementById('lowResHidden').value = 1;
  alert('currval true: ' + document.getElementById('lowResHidden').value);
}
</code></pre>

<p>The alert above shows "1" as it should. But when I run another javascript it has not changed the value to "1". It seams like the ASP.net trigger of the javascript is not updating the page. Any ideas?</p>
