-8
Try wearing something like that:
editBtn = '<a type="button" onclick="javascript:Devolver('
+ "'XXX'"
+ ')"><span class="btn btn-danger">Devolver</span></a>';
editBtn = editBtn.replace('XXX', row.PlacaDoVeiculo);
return editBtn;
Notice that you had also forgotten the >
before the <span
which closes the label of <a
.
And next time, please put the code as text in your question. Everyone on this site hates to see code within images.
http://idownvotedbecau.se/imageofcode
– Jefferson Quesado
Young man, please post your code with text and not as images.
– Jéf Bueno
Read this: https://pt.meta.stackoverflow.com/a/5485/132
– Victor Stafusa