Home › Forums › Guriddo jqGrid JS › Help › beforeSubmit conditional not evaluated
Hi,
Following is my beforeSubmit event, but for some reason the if block
Hello,
I do not think it is a jqGrid problem.
If the values are numeric try to compare it this way
if ( parseFloat(onstock) >= parseFloat(req_stock) ) {
..
}
If the values are integers use parseInt
Regards
Tony
THANK YOU, it's solved. I never crossed my mind
regards,
lupin
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS