CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Español

 cHUCk

Print topic Send  topic

Author Message
favc
Posted: 06/20/2006, 1:40 AM

Hola a todos, primer vez k posteo en espanol, necesito su ayuda para referenciar del lado del cliente (Javascript) el valor actual de un listbox, la funcion es evento->listbox_change

estoy usando algo asi

var mivar=document.forms["miformulario"].milistbox.value;

Esto me devuelve un 'undefined' como valor... como obtener el valor actual del listbox por favor?

gracias!

cHUCk
bedollandres

Posts: 48
Posted: 06/21/2006, 1:09 PM

var sel_index = document.forma.campo.options[document.forma.campo.selectedIndex].value;
_________________
bedollandres
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.