Hi

I am trying to close a window title dialog with JQUERY after sucessuflly 
updating a clients phone number. The problem is that after I successfully 
update the data I send this as a response to the browser: 

....
message = "jQuery('#windowTitleDialog').toggle('slow');"
return message


But the script just loads it as text in a DIV instead of executing the 
Jquery :( 

The way I call it is like this from the webbrowser:

<script>
                jQuery('#update_phone_number').submit(function() {
                  ajax('{{=URL('update_phone_number')}}', ['phone',], 
'phone_updated_div');
                  return false;
                });
 </script>

Anyone has an idea on how to run the JQUERY instead of just loding it as 
text inside the phone_updated_div ?

cheerio

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to