Controller code:-
def reports
reports = Report.find_reports(params[:status]) @reports = reports.first
if request.post?
render :update do |page|
page.replace_html "reports_table",:partial => 'reports'
end
end
end
Here form is working fine when i am selecting status .. but when i click
on submit spinner image is not coming ...
Suppose if i am using :disable_with in the submit_tag it is giving RJS
error.
Controller code:-
def reports
reports = Report.find_reports(params[:status]) @reports = reports.first
if request.post?
render :update do |page|
page.replace_html "reports_table",:partial => 'reports'
end
end
end
Here form is working fine when i am selecting status .. but when i click
on submit spinner image is not coming ...
Install Firebug in Firefox and see whether it throws up any errors
when you click the button.
</label>
render :update do |page|
page.replace_html "reports_table",:partial => 'reports'
end
end
end
Here form is working fine when i am selecting status .. but when i click
on submit spinner image is not coming ...
Install Firebug in Firefox and see whether it throws up any errors
when you click the button.
Colin
Presently firebug is installed in my system. i have already tested it.
it is not throwing any error.
But when i am using :disable_with in submit_button it is throwing RJS
Error on web page .. Like below format