-1
如何提示 這裏寫PHP代碼(變量)是我的代碼: -jQuery的工具提示幫助需要
<head>
<link type="text/css" rel="stylesheet" href="css/screen.css" media="screen" />
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
<script type="text/javascript" src="js/chilltip-packed.js"></script>
<script type="text/javascript">
$(function() {
$('.ChillTip').ChillTip();
$('.ChillTip1').ChillTip({
CTBK:'#fff',
CTBC:'#000',
CTW:'150'
});
});
</script>
</head>
<body>
<?php
$abc= 'Urvisha';
?>
<a href="chilltip" class="ChillTip1" title="<span class="one">Blue</span>, <span class="two">Pink</span>, <span class="three">Green</span>, <span class="four">Purple</span>, <span class="five">Red</span>, <span class="six">Yellow</span>">For more info.</a>
<button class="ChillTip" title="This is a button example">BUTTON</button>
</body>
我想$ ABC在我的提示 如果我寫裏面的標題$ ABC =」 「然後$ ABC顯示的是不是它的價值 plz幫助我.....
謝謝@immulation礦釷非常愚蠢的錯誤又一次。它完全從我的腦海裏消失了...... – User1988
它發生了:)如果解決方案奏效,你應該接受答案 – immulatin