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?

8 Answers
8

Leave a Reply

Your email address will not be published. Required fields are marked *