Asking for help here... have this
var z=document.getElementById("item_description").value;
parent.desc.location.href = 'index.cgi?z=sd&w=saveDESC&item_description=' + z;
need to have a regex in there to permit non alphanumeric characters to pass without becoming something else..
example: sending a % throug this winds up being a 0 instead
and other characters such as + are ignored, while characters like @ and & result in an error sent to the perl script doing the actual work after it receives from this script
so.... is there a very simple regex to allow non alphanumeric characters to pass through this script , escaped or not, so what is typed into the text field, actually winds up being what gets saved from that text field
thank you for your help
var z=document.getElementById("item_description").value;
parent.desc.location.href = 'index.cgi?z=sd&w=saveDESC&item_description=' + z;
need to have a regex in there to permit non alphanumeric characters to pass without becoming something else..
example: sending a % throug this winds up being a 0 instead
and other characters such as + are ignored, while characters like @ and & result in an error sent to the perl script doing the actual work after it receives from this script
so.... is there a very simple regex to allow non alphanumeric characters to pass through this script , escaped or not, so what is typed into the text field, actually winds up being what gets saved from that text field
thank you for your help