I would like to say when I submit empty form that do not disappear from container div till I fill

Hello sir,

I have wrote form validation code in javascript, it is working fine on register.php

In index.php I loaded register.php in a div through ajax. When I am trying to submit empty form then form validation code does not work. And register.php disappear from container div.

I would like to say when I submit empty form that do not disappear from container div till I fill a value and click on submit button.
My program code is written bellow. If anybody help me then I will be great full...

I would like to say when I submit empty form that do not disappear from container div till I fill

from PHP http://ift.tt/291JDRl
via IFTTT
Previous
Next Post »
Thanks for your comment