jquery - Loading PHP Success message in Lightbox/Modal -


I have a basic understanding of PHP, and in the past, I always loaded "Thank you for sending / success message" Information in an external php / html file

Currently I am using Zubar. The foundation to build a site and I was wondering how can I load a success message in the page I'm already using?

It is not currently active, but it is an example for reference (click 'Submit' to see the model):

This is when I have done everything in my PHP file normally, when it is good with all the forms:

  / * Thanks to the thank you page. * / Header ('location: ../thanks.html'); Go out();   

Can I just use something like this ?:

  header ('location: # link_to_an_id_wiman'); Go out(); Do anyone know how to do something like this or have an example link?  

Thanks

Here's an example, which you can change in your objective :

  $ (document) .ready (function () {$ ("a .quickLyric"). Click (function () {// id var urlLoad = $ (this) .attr Capture URL to load from ("id"); // AJAX $ ("load" div [class (/ songs / ink / '+ url load +' / '); // just make sure that "$ Urlload +"]; $ ("div [class =" + urlLoad + "]"). Page is not returned again;});});   

Source: < / P>

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -