I have this function where im trying to redirect to new page without pageloading, after every function call to saveOnChnage() the value is saving into database as n
saveOnChnage()