Are you talking about being able to 'decode' url variables in your CF code? You can do this with URLDecode().
If not, please give us a specific example of what is occurring and what you are trying to do. Dave -----Original Message----- From: Kevin Huff [mailto:[EMAIL PROTECTED] Sent: Saturday, December 06, 2008 11:15 AM To: cf-newbie Subject: JavaScript Problem Hey guys. I have a small problem. I am in a position where I have to submit a form to a javaScript function and pass that by url to page for processing. The issue is that there are cases when some of the form values are html, or tags. The JavaScript likes to auto escape these and when I pass that back through an url variable it breaks because it makes escapes tags and that makes ampersands which makes my variables not work at all. Here is the function in question. function wordSearchTaskPage() { var words= document.getElementById('wordToIgnore'); var len= words.options.length; var wordList=""; var j=0; for(var i=0;i<len;i++){ if(words.options[i].selected == true) { if(j == 0) wordList= words.options[i].innerHTML; else wordList += ',' + words.options[i].innerHTML; j++; } } var formLink = '/admin/headerBox/index.cfm?content=wordSearchTaskPage.cfm&formSubmitted=1' + '&id=' + document.getElementById('id').value + '&wordToIgnore=' + unescape(wordList); //alert(formLink); .navigate(formLink, 'headerBox'); } Let me know if you can help. Thanks a lot. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4225 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
