Nodoid
Nodoid

Reputation: 1581

How to submit a form in PHP without a refresh or using jQuery or AJAX?

I've Googled around for this one a bit and can't seem to find a simple answer.

I have a form which I submit over to a PHP script for some validation. What I'm trying to do is submit but without the refresh and without using jQuery or AJAX.

Is there a way to do it in pure HTML or PHP?

Upvotes: 1

Views: 150

Answers (1)

Quentin
Quentin

Reputation: 944429

Set the form's target attribute to point an an iframe element.

Upvotes: 2

Related Questions