ajax injection to create wizard
how wou开发者_运维百科ld i go about injecting html pages in a div, when a button is clicked? what i'm trying to achieve is sort of like a wizard, i click a button on step 1 and the content is replaced with step 2 content, i click a button on step 2 and i get step 3 content. all steps are separate html pages, how can i do this generically? using ajax/jquery, ruby on rails backend. thanks
精彩评论