2010-04-02 54 views

回答

9

你可以做

render :text => @your_object.id 

,然后根据需要投你responseText到整数的JavaScript处理。

1

是的,你可以。

render :text=> "the text that you want to return" 
相关问题