unable to call two functions on javascript onclick event -


i want call 2 javascript functions, using

<input type="submit" values="submit" onclick="return mandatorycheck(); submitscore();"> 

but submitscore() function didn't execute. need help...

assuming performing validation check in mandatorycheck() , returning true/false. should use && operator

use

<input type="submit" values="submit" onclick="return mandatorycheck() && submitscore();"> 

Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -