On Wednesday, March 18, 2015 at 6:31:08 PM UTC-7, Dave S wrote:
>
>
>
> On Wednesday, March 18, 2015 at 3:11:26 AM UTC-7, Ramos wrote:
>>
>> i do like this
>>
>> dom event
>> onclick="$('drop_html_here').html("wait!!!");my_ajax_function();"
>>
>> <script>
>> function my_ajax_function(){
>> call your ajax function ....
>> this function should return some html to replace your initial "wait!!!"
>> </script>
>>
>
> Thank you.  This works pretty well, when I put the  ID of the target div 
> in the $("..."). 
>


The ajax'd content has a couple of elements in it, as you'd expect.  One of 
them is a PRE.  Using "#my_id" as above replaced everything.  Using 
"#my_id.pre" didn't work.  I suppose I can try giving the PRE an ID.  
Sounds like a job for tomorrow.

Thanks again for the tips!

/dps

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to