mardi 31 mars 2015

dynamic display post submission, bypassing validation php javascript

I made a comment system that consists of a single button that opens up a comment panel which modifies the current web page by condensing the article/content to half or 60% of the screen and the comment panel takes up the rest, fixed in place to follow the article as the person scrolls.


Problem is, when I hit the submit/post button, the page refreshes and the comment panel hides again as if it wasn't displayed eg. triggered by the comment panel display button.


So... is this a flawed idea, or can I run the PHP validation part without refreshing the page eg. triggering the display: none; in css?


Aucun commentaire:

Enregistrer un commentaire