how to call internal html from cakephp?

Can we call html file into DIV tag?

  • Hello Guys, I have divided my page into four parts using Div tag .can i call html file in each div tag. ****************Div1************* I wanna call one page1.html ...show more

  • Answer:

    using ajax or iframes to render content from external file. or you can go through the below link and try to implement it. http://www.boutell.com/newfaq/creating/include.html

XUKCULK3KVZFEJLPDZFDVFETLU at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

Use the iframe tag for this. It will work and it's easier than including with JS or PHP (since you are a bit restricted). <div> <iframe src="page1.html"></iframe> </div>

Cristiano

You can use JQuery to accomplish this. Only problem is if the user has blocked javascript from happening they will not see your page (that is where PHP excels but I understand you don't have it). You will need to download the jquery package and put it on your server. http://jquery.com/ or there is a javascript include that can be used

My banana in your republic

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.