This is the code I have:
var IsWithHistory = 1;
if (stat == 'P') {
var ans = confirm("Copy product with selection History");
if (ans == true) {
$("#CopyProductHeaderForm").submit();
} else {
IsWithHistory = 0;
$("#CopyProductHeaderForm").submit();
}
}
CopyProductHeaderForm is going to my controller with this Can I send IsWithHistroy Value to the controller? how to send this value to the controller to check the condition.
Thanks