<% if @project %> $("#join_in_project_applied").html('<%= escape_javascript( render :partial => 'projects/applied_status') %>'); <% end %> var htmlvalue = "<%= escape_javascript(render :partial => 'applied_project/applied_project_tip') %>"; pop_box_new(htmlvalue,380,40,50);