I have implemented this function (libphonenumber javascript )in a website http://www.phoneformat.com/
How do i get the value returned by this html tag. Whether Yes
You probably want to do this:
$("#phone_valid").html();
or
$("#phone_valid").text();