$(function() {
var phone = $('#phone').text();
var mphone = phone.substr(0, 3) + '****' + phone.substr(7);
$('#phone').text(mphone)
});
Js shadow possession in the middle of the four-digit phone number instead of by *
Guess you like
Origin www.cnblogs.com/zjboke/p/12148420.html
Ranking