Currently, I am transferring data from a JavaScript file to a handler that retrieves results from a stored procedure. The parameter I need to pass is in the format ID = abc[123], but I only want to pass 123 as the value to the stored procedure. Below is how I am declaring the parameter in JavaScript:
var parameters = JSON.stringify({
"ID": JSON.stringify(EditedID).replace(/]|[[]/g, '')
});
However, I am encountering an error stating "invalid ID". Can someone please assist me with this issue?