For PHP, please! Solution

Source: Internet
Author: User
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 ");
});

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.