execute simple script.. not working, help pls?
execute simple script.. not working, help pls?
Hello,
i have this:
{ "fnRender": function ( data, type, full ) {
return "$$id(function(x){alert(x);})(5);alert( '$$id'); $('lojas-$$id').html('---');".render({id: type});
}, "aTargets": [ 5]
},
it prints the $$id, but i want to execute the part inside ... and it doesnt seems to get executed... but its rendered there, i can see with firebug... whats the correct way to do this ?
i have this:
{ "fnRender": function ( data, type, full ) {
return "$$id(function(x){alert(x);})(5);alert( '$$id'); $('lojas-$$id').html('---');".render({id: type});
}, "aTargets": [ 5]
},
it prints the $$id, but i want to execute the part inside ... and it doesnt seems to get executed... but its rendered there, i can see with firebug... whats the correct way to do this ?
This discussion has been closed.
Replies
Allan