That works. THANKS!
On Mon, Sep 17, 2012 at 8:16 PM, Bruno Rocha wrote:
>
> you need to use # on id selectors $("#selector_id")
>
> function parse_my_data(data){
>$('*#*target').append(data);
>$('*#*target').append(P('', XML('world')));
> }
>
> --
>
>
>
>
--
you need to use # on id selectors $("#selector_id")
function parse_my_data(data){
$('*#*target').append(data);
$('*#*target').append(P('', XML('world')));
}
--
Hi, thanks for your post. I tried your suggestion, but still can't get it
to work, here is my new code:
*
{{extend 'layout.html'}}
$(function(){
$('.myactions li').click(function(){
elem = $(this);
url = elem.attr('data-url');
The ajax function:
ajax(
url, # here you set a string to a complete url, it can include args
and vars
[], # form inputs, if you have a form on the page you can set
['name', 'email'] if you do not have a form set it to null
target, # an id of any html element where you want the re
4 matches
Mail list logo