$("#poll_questions_<%= @poll_question.id%>").html("<div id='show_poll_questions_<%= @poll_question.id %>'>" +
        "<% if @poll_question.question_type == 1%>" +
            "<%= escape_javascript(render :partial => 'show_MC', :locals => {:poll_question => @poll_question}) %>" +
        "<% elsif @poll_question.question_type == 2%>" +
            "<%= escape_javascript(render :partial => 'show_MCQ', :locals => {:poll_question => @poll_question}) %>" +
        "<% elsif @poll_question.question_type == 3%>" +
            "<%= escape_javascript(render :partial => 'show_single', :locals => {:poll_question => @poll_question}) %>" +
        "<% elsif @poll_question.question_type == 4%>" +
            "<%= escape_javascript(render :partial => 'show_mulit', :locals => {:poll_question => @poll_question}) %>" +
        "<% end%>" +
   "</div>" +
   "<div id='edit_poll_questions_<%= @poll_question.id %>' style='display: none;'>" +
        "<% if @poll_question.question_type == 1%>" +
            "<%= escape_javascript(render :partial => 'edit_MC', :locals => {:poll_question => @poll_question}) %>" +
        "<% elsif @poll_question.question_type == 2%>" +
            "<%= escape_javascript(render :partial => 'edit_MCQ', :locals => {:poll_question => @poll_question}) %>" +
        "<% elsif @poll_question.question_type == 3%>" +
            "<%= escape_javascript(render :partial => 'edit_single', :locals => {:poll_question => @poll_question}) %>" +
        "<% elsif @poll_question.question_type == 4%>" +
            "<%= escape_javascript(render :partial => 'edit_mulit', :locals => {:poll_question => @poll_question}) %>" +
        "<% end%>" +
   "</div>");
