Re: TypeError: html has no properties

William Pratt
Thu, 16 Aug 2007 16:33:16 -0000

Typically that means that there is not an element on the page with that id.

Glen wrote:
> I''m trying to update a div after form submission, for some reason
it
> is dying on this line:
>
> render :update do |page|
>   page[:body].replace_html :url => body_report_show(:id =>
> params[:report_id])
> end
>
>
> I get an alert window that says
>
> RJS error:
>
> TypeError: html has no properties
>
>
> Help??
>
>
> >