i am also trying jQuery("#jsc_leftbody", lt).html();
i cant for the life of me see why this is not working correct

if helps the page is here:
http://undergroundinnertainment.com/2009/index.php?option=com_comprofiler&task=userProfile&user=64&Itemid=67

On Apr 4, 2:13 am, Mathew <msin...@gmail.com> wrote:
> 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