I have been wondering if is possible to use a HTML <input id="in"> (which I could enter lets say 25 / 6 * 3) and output the mathematical evaluation with Javascript, I have written up something which very understandably did not work, would there be any way to make it work?
function go() {
var x = $("#in").val();
alert(parseInt(x))
}
Your answers are much appreciated
#incontain?