ãã©ã¼ã ã«å ¥åãããå ¨è§è±æ°åãèªåçã«åè§å¤æããJavascriptã§ãã <input onkeyup="zentohan(this)" type="text" /> function zentohan(obj){ if(typeof(obj.value)!="string")return false; var han= '1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@-.,:'; var zen= 'ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï¼ï½ï½ï½ï½ï½ ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï½ï¼¡ï¼¢ï¼£ï¼¤ï¼¥ï¼¦ï¼§ï¼¨ï¼©ï¼ªï¼«ï¼¬ï¼ï¼®ï¼¯ï¼°ï¼±ï¼²ï¼³ï¼´ï¼µï¼¶ï¼·ï¼¸ï¼¹ï¼ºï¼ âï¼ï¼ï¼'; var word = obj.value; for(i=0;i<zen.length;i++){ var regex = new RegExp(zen[i],"gm")
{{#tags}}- {{label}}
{{/tags}}