Given the code line
var value = $("#text").val();
and value = 9.61
, I need to convert 9.61
to 9:61
. How can I use the JavaScript replace function here?
Given the code line
var value = $("#text").val();
and value = 9.61
, I need to convert 9.61
to 9:61
. How can I use the JavaScript replace function here?