I ma having trouble with this for a few hours and thought id post to
see if i can get help.
I am trying to use ajax to load an element from another page. i can
see the response and the id element i am looking for inside but i can
get nothing but a null value trying to extract the html()
im using variations of this:
jQuery.ajax({

            url: 'index.php?
option=com_resource&view=list&category_id=9&user_id=64&layout=useritems&view_what=created&Itemid=0',

            timeout: 0,

            error: function() {

              console.log("Failed to submit");

            },

            success: function(lt) {

              //alert(r);
var ltm = jQuery(lt);
var cone = ltm.filter("#jsc_leftbody").html();
    jQuery("#contentPut").html('<table><tr>'+cone+'</tr></table>');
alert(cone);


            }

          });


i dont know why but i always gets null vlaue anyone know why?
thanks a bunch

Reply via email to