This could probably be posted in the javascript forum too, but I thought I would have better luck here.
I’m trying to see if there is a way I can have an onclick event to change the inner content on one of my pages. I want the page to load with the original content in one of the cells of a table.
The current content is <?php include(“tiles/contents.php”); ?>.
I want to be able to have a button click and change the content of the cell to <?php include(“tiles/contents2.php”); ?>.
Is there a way to do this easily? I knew to php and not sure how you would code this. I know how this would work in jsp, but I can not figure out who it would work with php.