CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> Español

 Abrir una ventana con javascript enviando un parametro

Print topic Send  topic

Author Message
FreeThinker

Posts: 4
Posted: 07/23/2008, 7:15 AM

Salu2, tengo un grid que carga datos de una tabla llamada 'AFILIADO' , el grid tiene en la primera columna un link con el codigo del afilado 'AFILIADO__CODIGO', quiero que al clickear ese link se abra una ventana mediante javascript enviando el codigo del afiliado...asì:

XML

<Link name="lnkPreAnex" dataType="Text"
controlSourceType="DataSource" controlSource="AFILIADO__CODIGO"
hrefType="Page" hrefSource="javascript:preexistencia('THE PARAMETER')" convertRule="Relative"
format="" dbFormat="" isHtml="False" preserveParams="GET">
</Link>

Y LA FUNCION ES:

function preexistencia(codigo) {
abrir=window.open("PreexistenciasAnexos.jsp?cod="+codigo,"","scrollbars=yes,toolbar=no");
abrir.window.focus();
}

espero me ayuden, gracias
_________________
La grandeza no se improvisa...
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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