Hey guys. I'm having a small problem passing a value to a text box. I have an Html Slider that pushes a number to my Wix page. I have no problem showing that value in a textbox (#textA). But if I try to manipulate it (multiply it by 2 in this case) and push it to another textbox (#textB) i get an error. Could someone tell me what I'm doing wrong?
$w("#htmlSlider").onMessage( (event) => {
var SliderValue = event.data;
var USDValue = SliderValue*2;
$w('#textA').text = SliderValue;
$w('#textB').text = USDValue;
console.log(SliderValue);
console.log(USDValue);
});
![](https://static.wixstatic.com/media/a27d24_77730a93fe9b4a06aa678a3d3b4a17b5~mv2.jpg/v1/fill/w_925,h_107,al_c,q_80,enc_auto/a27d24_77730a93fe9b4a06aa678a3d3b4a17b5~mv2.jpg)
figured it out... just needed to push it to a string