Displaying 1 result from an estimated 1 matches for "hidden_values".
2007 Feb 07
0
Ajax rjs - escape single quote in returned string ?
I replace an outer html as following :
page.insert_html(:after, ''hidden_values'', "<INPUT TYPE=HIDDEN
id=''new_title'' NAME=''new_title'' VALUE=''#{params[:new_title]}'' />")
but if params[:new_title] string has a single quote like "can''t get
all the string"
the html is shorten..
wha...