Displaying 1 result from an estimated 1 matches for "outputdiv".
Did you mean:
outputdir
2011 Nov 03
0
multiple render text in jquery rails
...has security checks and other
server side checks like :
===========================
if message_text.nil? or message_text.empty? or message_text.length > 140
post_validation_check=true
respond_to do |format|
format.html {
render :text=> "<div id=''outputDiv''><span
class=''inputError''>Please enter message upto 140
characters</span></div>"
}
format.xml {
render :xml=>hash_map_for_xml.to_xml(:root => "mb")
}
end
===========================
Normal...