Displaying 1 result from an estimated 1 matches for "post_validation_check".
2011 Nov 03
0
multiple render text in jquery rails
...o how do i achieve it through jquery?
For example:
A simple posting message application:
On post button i have a post method which 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 {
ren...