Special Character Handling
Hi,
I'm using the ColdFusion.navigate in JavaScript to call Method in CFC.
ColdFusion.navigate('cfc/data_control.cfc?method=insertCompanyName&company_id='+document.getElementById('company_id_'+i).value+'&company_name='+document.getElementById('company_name_'+i).innerText,'addMessage',loadCompanyList);
However, I find that when I input the name "Testing & Checking" in the field, it will only show me the word "Testing ". I think this is because of the character "&". "&" is used to divide different parameter. Since some companies have the character "&", I want to find some method to retrieve the character "&" correctly.
Is there any method on handling "&" correctly?
