Board logo

標題: 寵物中心php/js一問 [打印本頁]

作者: leon    時間: 2012-4-16 19:17     標題: 寵物中心php/js一問

我於bank.php加了以下既code
$moneycredits1= $GLOBALS['extcredits'.$petsettings['moneycredits1']];
$moneycreditsname1=$extcredits[$petsettings['moneycredits1']][title];

禁我應該係bank.js 加咩code 先用到<span id="moneycredits1">

var moneycredits1=xmldoc.getElementsByTagName('moneycredits1')[0].firstChild.nodeValue;
$('moneycredits1').innerHTML=moneycredits1;
但用唔到=.=
作者: hiphopzoot    時間: 2012-6-3 23:09

不错不错,学习了,感谢楼主,辛苦啦!




歡迎光臨 Cubic Host (http://cubichost.net/bbs/) Powered by Discuz! 7.2