Could someone help-me ?
I have a javascript function that fill a listbox with a value from a
textbox :
var opt = document.createElement("option");
opt.text = document.getElementById(textbox).value;
opt.value = document.getElementById(textbox).value;
document.getElementById(listbox).options.add(opt);
document.getElementById('txtNmroDiasGravacao').value =
document.getElementById(listbox).length;
The problem is:
When I try to get the values from the listbox, on CodeBehind, I
can't ...
listbox.Items.Count.Equals(0) -> always returns true
and when I try get the value from txtNmroDiasGravacao.Text -> always
returns ""
does someone knows how to solve ?
thanks
Otavio Augusto Cipro
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://cm.megasolutions.net/forums/default.aspx
<p><a href="http://feeds.feedburner.com/DotNetDevelopment"><img
src="http://feeds.feedburner.com/~fc/DotNetDevelopment?bg=99CCFF&fg=444444&anim=1"
height="26" width="88" style="border:0" alt="" /></a></p>
-~----------~----~----~----~------~----~------~--~---