PHP, please! & Nbsp; I used Ajax to return some data in a DIV with the ID of d_content on The View page. I want to obtain the & nbsp; ID, so that jquery can be used to set its style, but this ID is not available at all. the data returned by Ajax is not in the View Source Code. how can this problem be solved? ------ Solution -------------- PHP, please!
I used Ajax to return some data in a DIV with the ID of d_content on The View page. I want to obtain the ID of a DIV in the data so that jquery can be used to set its style, but why can't I get this ID? there is no code for the data returned by Ajax in the View Source Code. how can this problem be solved?
------ Solution --------------------
Check if ajax returns p data successfully.
------ Solution --------------------
What format is your returned content?
------ Solution --------------------
$ ("# Sel_list"). change (function (){
$. Get ("/shop/showphotos", {album_id: $ ("# sel_list"). val ()}, function (dt ){
Certificate ('{d_content'{.html (dt );
Certificate ('{d_content'{.find('...'{.css (...);
}, "Html ");
});