Display PHP data in Jquery AJAX

前端 未结 3 980
萌比男神i
萌比男神i 2021-01-23 16:37

I have a php page where I display few images with radio buttons. On start two images are pre selected and I merge those and show the combinations. But user can choose a differen

3条回答
  •  余生分开走
    2021-01-23 17:25

    Since you are running AJAX, which uses HTTP protocol for communication, HTTP relies on MIME type. Identify the callback by using 'image' as dataType.

    dataType:'image',
    

提交回复
热议问题