To remove a quote from a variable using JavaScript, try a regular
expression:

myVariable = myVariable.replace(/\"/g,"");

tom
www.basic-ultradev.com


> For some reason message "from" details contain quotation marks " and
> sometimes fools and horses use them in the subject also. This is causing
> problems with my javascript back end for mouseovers. I could remove this
> or someone could explain how to remove " characters from variables. I've
> done ' and spaces and _ characters but this has me stumped.
>
> Any quick and easy code out there to strip the " symbol, it could occur
> more than once in a variable also.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to