Aha! There is a reason that I read every email..... I was having a problem updating data on one of my apps that had a # sign and HTMLEditFormat made it work. Thanks, Zelda
-----Original Message----- From: Kevin Huff [mailto:[EMAIL PROTECTED] Sent: Saturday, December 06, 2008 12:32 PM To: cf-newbie Subject: Re: JavaScript Problem No Problem allow me to clarify. I submit a form to a javaScript function that function has to send the form variables as url variables to the page. Some of the form variables contain tags and the javaScript function tries to escape the tags and stuff using < and > So say the form passes the function <o:p> (a hidden char from word) the url variable ends up being /admin/headerBox/index?wordToIgnore =<o:p> and that I just can't work with. So how do I get the function to make the url variable be the same as what is submitted to the function? here is the form if that will help. <form> <select multiple id="wordToIgnore" name="wordToIgnore" > <cfloop list="#url.words#" index="wordToIgnore" delimiters="^"> <option value="#wordToIgnore#">#HTMLEditFormat("#wordToIgnore#")# </cfloop> </select> (use ctrl or shift to select multiple words)<br> <input type="hidden" id="id" name="id" value="#url.wordID#"> <input type="button" value="Ignore Words" class="buttonsmall" onClick="wordSearchTaskPage()"> </form> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:4231 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
