How to escape # in cfdiv binding url variable
I hav an instance that I have to find out ways to escape the # sign which is contained in the binding variable.
Here is the code:
<form name="myForm" method="post">
<b><center>Part Name</center></b><br>
<select name="Avail_Names" id="Avail_Names">
<cfoutput query="getName">
<option value ="#getName.name#"> #name#
</cfoutput>
</select>
</form>
<cfdiv id="nameDiv" bind="url:desc.cfm?name={Avail_Names}"/>
The result of {Avail_Names} can be anything that with a # in it. ie. AF#SISG, W#JYSM, IEIU#8
Now it works fine for IE, but not in Firefox, it stops at the #, and the rest has been truncated. I need a way to bypass # and pass the whole name.
Please advice.
Thanks.