jeudi 28 janvier 2016

How to show alert message if I hit Submit button directly and need to show json object after clicking for input types and then Submit?

I wanted to show one alert message if I click directly Submit button instead of clicking my <input type="checkbox"> directly only. I have tried it at Fiddle, but it's getting alert message every time(that is if I directly click Submit button - showing alert message and after clicking of any <input type-"checkbox"> and then hitting Submit button - also showing alert message, this time I need to show only json object on console, not alert message). Please help me, thanks in advance.




Aucun commentaire:

Enregistrer un commentaire