Help
I have a ASP:Listbox on a form. My page Adds items to this this via
Client-Side Script only.
Such as...
var vObj_TargetElement =
document.getElementById("_PageTemplate_innerHolder _oASP_Lbx_Invoice");
var vObj_SourceElement = document.getElementById("oHTML_Tbx_Invoice");
var vInt_OptionTotal = vObj_TargetElement.length++;
vObj_TargetElement.options[vInt_OptionTotal].value =
Trim(vObj_SourceElement.value);
vObj_TargetElement.options[vInt_OptionTotal].text =
Trim(vObj_SourceElement.value);
When the form is submitted, these new items are not submitted within the
LISTBOX.
Server-Side code such as ...
Response.Write(oASP_Lbx_Invoice.Items.Count.ToStri ng)
Returns 0 (zero)
Any ideas how to solve this ??
Thanks.
Simon
[Remove the NOSPAM if replying by email]