2014-05-08

Hi, i am building a front end developer testing area like js fiddle i have what i want working, it works by loadiing a file and using php file_put_contents to update the file, the way i would like it to work is the posted data to populate the results are (this i can do) the problem i have is if you choose a javascript library like jquery to load into the iframe the iframe needs to be refreshed for the jquery to work  and then the results go blank

 

HTML

 

AJAX

php just updates the test.php file with file_put_contents

 

this works but i want it to load the iframe with jquery loaded and with the posted data

 

thank you

Show more