search for: my_ifram

Displaying 1 result from an estimated 1 matches for "my_ifram".

Did you mean: my_iframe
2007 Nov 09
1
ruby on rails + ajax + iframe image uploader
...ad the image into my page ( say in <div id="photo container"> element). however, when upload an invalid file (I use attachment_fu''s validate_as_attachment), the error result is return to iframe due to iframe is the target of form ( form id="uploader" target="my_iframe"> ) I wanna display the error message, but the code is stop after entire page with error is return to my iframe. my code look this : def create begin #success code logic rescue render :action=>''new'' #return entire template in iframe, end end is that any way...