asifakhtar
03-11-2012, 12:21 AM
Hi,
How can I create a link tag and and assign LoadSupplierProductsGrid to its onlick dynamically in javascript?
My Function should be like the following:
LoadSupplierProductsGrid(ParameterA, ParameterB)
I have done it with 1 “ParameterA” but having difficulties creating it with 2 parameters.
"<a href='javascript:void(0);' onclick='LoadSupplierProductsGrid(" + ParameterA + ")'>" + ReportRSet.getfieldbyname(i, "Company Name") + "</a>";
How can I create a link tag and and assign LoadSupplierProductsGrid to its onlick dynamically in javascript?
My Function should be like the following:
LoadSupplierProductsGrid(ParameterA, ParameterB)
I have done it with 1 “ParameterA” but having difficulties creating it with 2 parameters.
"<a href='javascript:void(0);' onclick='LoadSupplierProductsGrid(" + ParameterA + ")'>" + ReportRSet.getfieldbyname(i, "Company Name") + "</a>";