I'm working on a greenfield web app. We're evaluating technologies such as htlm5/jquery/backbone.js talking to a RESTful web service.
For page 1, this is fine. For page 2, I don't want to copy and paste anything. In the ASP.NET world, I would use Master Pages bring in the and definitions, headers, footers etc.
Is there a javascript/client-side approach to master-pages?
There are only two ways to do this in HTML5:
<iframe>
JavaScript
Since <iframe>
is an outdated concept, using JavaScript is recommended.
For more information please have a look here .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.