Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Load a php page into a div Re: Load a php page into a div

#106183
ShiDomY
Member

That will come in handy :). Thank you mmoustafa. I think I know where the problem is. The thing is that I am trying to load with a defined admin folder. For example : HTTP_SERVER_ADMIN. And I was trying to load with the first js you posted like this :


And I think that might be wrong, or JS doesn’t allow defined locations of folders :-??

Edit: Maybe I should’ve done this in the first place, and show you how my website is structured.






Some text



Some other text






Now, using the js mmoustafa posted it should go like this…and correct me if I am wrong :



I might be blind on this one, but I just cannot see what is wrong.