|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming > Web Coding | |
Change DIV to different included file
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |||||||||||||
|
Programmer
|
i have a PHP site with an include in a div. i have a bunch of links on a navbar.
when you click on a link, it changes the div to include a different file can i do this in javascript with innerHTML and put the actual PHP code inside there? like innerHTML( "<?php include(file.php); ?>" ) if not can i use a SHTML include? or is there any other way to do this. thanks. EDIT: figured it out u can. woot.
__________________
Freelance programmer, computer hardware enthusiast.
Last edited by nerdy_swagger : 4 Weeks Ago at 03:03 PM |
|||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|