xiaozi 2015-05-06 08:20:48
jQuery实现PHP的htmlspecialchars的功能
var mytext = "<hello http://tool.lu>";
$("<div/>").text(mytext).html();
xiaozi 2015-05-06 08:20:48
jQuery实现PHP的htmlspecialchars的功能
var mytext = "<hello http://tool.lu>";
$("<div/>").text(mytext).html();
Accueil
-
Wiki
Copyright © 2011-2026 iteam.
Current version is 2.154.0.
UTC+08:00, 2026-03-03 15:39
浙ICP备14020137号-1
$Carte des visiteurs$