javascript - How do I load text from a file into a div? -


i'm designing support site business. way decided create accordion menu , allow user select list of faqs. when user clicks faq, want page pull answer text file in directory contains answer, display in div.

is there way without ajax, php, or jquery? javascript okay, that's 1 i'm familiar with.

when user clicks faq, want page pull answer text file in directory contains answer

where text file , directory stored? presumably, somewhere on server.

and process of pulling file server html page commonly called ajax.

so, directly answer question: no, not possible. need ajax described.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -