I'm new to programming. Today, I have a question regarding jQuery. Currently, I am doing a code whereby if i were to type something in a text box, the value will be generated without refreshing somewhere on the same webpage. The code is currently working, however after I add in the round function, the code does not seem to run anymore. Will appreciate if you are keen to help. Thanks!
$( "#noofpax1" )
.keyup(function() {
var value = $( this ).val();
$( "#pax1" ).text( round ((value * 13.21) ,2 ));
})
.keyup();