Hi, I get information pulled then displayed on the webpage using the following code.
Code:
$str .='<span id="left"><b> Project : '.$data[$i]['name'].'</b></span>
<span id="right"><a href="javascript:animatedcollapse.toggle(test)" class="style5">Toggle Details</a></span>';
The javascript link gives a drop down details list.
Problem is that i need (test) to be ('test') and ofcourse it dislikes the apostrophes in the code.
What I need is for it to be
Code:
"javascript:animatedcollapse.toggle('test')"
Anyway to get apostrophes in there?
__________________
Websites Created;
warscope.com
ratepayers.org.nz
Last edited by lothop; 10-23-2008 at 09:11 PM..
|