CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Change value of radio button in javascript (RESOLVED)

Print topic Send  topic

Author Message
gcastillo

Posts: 45
Posted: 01/24/2009, 10:32 AM

Hi,

HTML
I have a radio button:
<input id="rb_moneda1" type="radio" name="rb_moneda">Si <input id="rb_moneda2" type="radio" name="rb_moneda">No

I can change in a javascript function

document.getElementById('rb_moneda1').checked = 1;
or
document.getElementById('rb_moneda2').checked = 1;

BUT

In CCS radio button use this:
id="rb_moneda_{rb_sfac_cpe_mn:optionNumber}"

Who I can change to value checked especific option in a javascript function with this id?

Thanks a lot

_________________
Giovanni
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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