I want to replace &
to &
using javascript. Here is the sample code of mine.EmployeeCode
could contain &. The EmployeeCode is selected from Datagrid and its showed in "txtEmployeeCode" textbox. But if the EmployeeCode contains any &
then it shows &
into the textbox. How could &
be removed from EmployeeCode? can anyone help...
function closewin(EmployeeCode) {
opener.document.Form1.txtEmployeeCode.value = EmployeeCode;
this.close();
}