mdarling Posted August 11, 2011 Share Posted August 11, 2011 ok so before i go coding some crazy Frankenstein like code i wanted to throw this question out and see if anyone has ever tackled this. i would like to include a php file(mostly html in the file) into another php file when a radio button is selected. is this possible? is ther an include like function in JS? i know this is more for a JS forum but since it involves php i thought id post it here too! Quote Link to comment https://forums.phpfreaks.com/topic/244465-include-php-with-javascript/ Share on other sites More sharing options...
Alex Posted August 11, 2011 Share Posted August 11, 2011 Look into AJAX. Quote Link to comment https://forums.phpfreaks.com/topic/244465-include-php-with-javascript/#findComment-1255661 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.