im an Ajax [Div]
im an Ajax [Div]
Out of context: Reply #9
- Started
- Last post
- 11 Responses
- ldww0
you should create two css stlyles
.show { display:block; }
.hide {display:none;}then put the content in the div but give it a class of hide, then just use javascript to change the class to show when you want to show it.
or you could use xmlhttprequest in javascript to load the data after on click and put it into the div with innerHTML.
you should look into prototype, it makes all this ajax stuff alot easier