|
I think I found the solution.
Doesn't look very pretty, but it works:
<td>
{$productData[index].Hoofdgroep}
(<a href="#" onclick="getData();">Wijzig</a>)
{literal}
<script type="text/javascript">
function getData() {
var productData = new Object();
productData.Id = '{/literal}{$productData[index].id}{literal}';
productData.Omschrijving = '{/literal}{$productData[index].Omschrijving}{literal}';
editProduct(productData);
}
</script>
{/literal}
</td>
Last edited by Codestar; 08-09-2007 at 09:58 AM..
|