Colin Law wrote in post #983543:
> On 24 February 2011 06:56, Sai Babu <[email protected]> wrote:
>>  </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

try {
Element.update("reports_table", "<table class=\"list\">\n    <n 
RE_PAID\\n            </td>\\n            <td>\\n                NONE\\n 
</td>\\n            <td>\\n                NONE\\n            </td>\\n 
<td>\\n                \\n            </td>\\n            <td>\\n 
20\\n            </td>\\n        </tr>\\n        \\n        <tr id 
=\\\"row_3\\\" class=\\\"list_item  odd\\\" 
onclick=\\\"highlightLine(row_3)\\\">\\n            <td>\\n 
<td>\\n                </td>\\n        </tr>\\n        \\n        \\n 
</tbody>\\n</table>\\n\");'); throw e }

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to