javascript - Efficient Coding of Many Similar HTML pages -
i'm new html , jquery. running website survey experiment, means have ~50 pages identical exception of few values. there way can capture differences variable , loop through template html code? i'm using variables in code, i'm not sure how or if can applied instantiations of block of html/jquery code. thank in advance!
in asp.net can have cshtml page inherits layout. layout single page same, while inherits can vary slightly. more on here: http://www.w3schools.com/aspnet/webpages_layout.asp
another option mvc model - can have single page, or view, , model can change dynamically. view adapts values in model. more on here: http://www.w3schools.com/aspnet/mvc_intro.asp
all in all, doing possible. both of above options, , there more well. don't take easy way out , manually create identical pages.
Comments
Post a Comment