Maybe check the following article it will help you understand how the things work:
In this specific case your code should become:
function show(n1, n2) {
var sum = n1 + n2
dmx.parse('soma.setValue('+sum+')');
}
Maybe check the following article it will help you understand how the things work:
In this specific case your code should become:
function show(n1, n2) {
var sum = n1 + n2
dmx.parse('soma.setValue('+sum+')');
}