Quote:(07-28-2016, 05:30 PM)mudrig Wrote: [To see links please register here]
Thanks Bud, You have taught me a lot since I am new to PHP that helps more then you think. Is there a way to style the pop-up window? Or is that the only way it will show up?
That alert is Javascripts default prompt but you can make a custom popup using Jquery, HTML and CSS. Lemme show you a simple way to displaying that response on the HTML document via DOM (In simple words, It allows you to easily manipulate HTML components)
In your body tag, paste this any where:
Hidden Content
You must
[To see links please register here]
or
[To see links please register here]
to view this content.
Now edit the following line in your Jquery
Hidden Content
You must
[To see links please register here]
or
[To see links please register here]
to view this content.
By
Hidden Content
You must
[To see links please register here]
or
[To see links please register here]
to view this content.
Now your response from the PHP Script will be displayed on the HTML document inside the div tags, You won't see a popup. Now use CSS and more Jquery to give that div some eye candy factor.
There are plugins available for this task in case you wanna get some ideas:
[To see links please register here]