好吧,函数调用难道是我的死穴么?!!
mark先,等解决了再补充
function output()
{
var str = document.getElementsByName("str").item(0).value;
$("p#output").text(myMD5(str));
var d =$("p#output").text();
//push(d,"sfsfs");
alert(d);
}
function myMD5(str)
{
var md5_str = str.split("");
alert(md5_str);
return md5_str;
}functio