At 06:19 PM 7/7/2003 +0200, you wrote:
change the # to ## and the & to &&
cheers
Jordan
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Eugene Gorman Sent: Monday, 7 July 2003 6:22 PM To: CFAussie Mailing List Subject: [cfaussie] cfoutput javascript
Hi everone
I want to store some Javascript in the database and cfoutput it, but the java uses the # symbol and the & symbol. How can I do this?
There is a good reason why I want to do this.
Here is the java, its for a currency conversion systems.
<SCRIPT LANGUAGE="JavaScript">var pre=''; var post=''; function convert(amount) { document.write(pre + 'AUD ' + eval(amount) + post); } function link() {document.write(arguments[0]);} function visitorCurrency3() {return('AUD');} function visitorCurrency2() {return('AU');} function visitorCurrencyName() {return('Australian Dollar');} function visitorCurrencySymbol() {return('$');} function reconvert() { }</SCRIPT>
Any help would be appreciated.
cheers
Eugene Gorman Velvet Systems http://www.velvetsystems.com 07 3369 6003
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
