Hi Daniel,

This bit : "addCart(#i+1#)"

on CF5 would have to be "addCart(#evaluate(i+1)#)" and anything similar.

Regards,
Dan.

-----Original Message-----
From: Daniel Farmer [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 07, 2004 15:08
To: CF-Talk
Subject: [cftalk] errors on cf5 but not cf6.1


The following code produces errors on CF 5, but not on 6.1

<tr>
        <td bgcolor="dedede" align="center" width="33%" style="height:50px;">
                <a href="###i#" class="boxedText">#i# - 
#session.arrQA[i][1]#</a>
        </td>
        <td bgcolor="dedede" align="center" width="33%">
                <a href="###i+1#" class="boxedText">#i+1#- 
#session.arrQA[i+1][1]#</a>
        </td>
        <td bgcolor="dedede" align="center" width="33%">
                <a href="###i+2#" class="boxedText">#i+2# - 
#session.arrQA[i+2][1]#</a>
        </td>
</tr>
<tr align="center">
   <td><input type="Button" value="Buy Chapter" onclick="addCart(#i#);"
class="cartbuttons"></td>
   <td><input type="Button" value="Buy Chapter" onclick="addCart(#i+1#);"
class="cartbuttons"></td>
   <td><input type="Button" value="Buy Chapter" onclick="addCart(#i+2#);"
class="cartbuttons"></td>
</tr>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:183574
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to