I want to use same div tag for different page displaying using html. how to use it
Ex:<div id ="name"> if{page1}else{page2}</div> is there any possible using if in html or give different solution plz.
when user clicks different tab the different page need to appear i used different div but click different tab it shows some empty space with the page2 i think that is page1 space.
I want to use same div tag for different page displaying using html. how
Share
Given that a page might have ids
#page1and#page2and the<div>has an id of#brianyou could use jquery:
This example may aid you – http://jsfiddle.net/wQCDR/
Alex