On Wednesday, January 11, 2012 3:53:24 AM UTC-5, Liam wrote:
>
> Sorry, that was a typo.
>
> Even something as simple as response.js = 'alert("Here");' or response.js 
> = '<script>alert("Here");</script>' doesn't seem to work, although it 
> does if included in the view.
>

Can you show the code you tried? I tried the exact code you posted and 
simply added this to the overview() function:

response.js = '''<script>$(function() {$(".replacewloading").click(function() 
{$(this).parent().html('<span><img src="static/plugin_test/
images/loading.gif"/>Refreshing...</span>')} );} );</script>'''

and it worked fine for me.

Anthony 

Reply via email to