how to use ajax request in jsFiddle

后端 未结 2 1167
Happy的楠姐
Happy的楠姐 2020-12-09 05:19

I\'m trying to create my first fiddle. So here\'s what I want to do with jquery

$(\'.list\').live(\'click\', function(){
    var dataPass = \'uid=\'+ uid;
           


        
2条回答
  •  星月不相逢
    2020-12-09 05:41

    It's not possible to make an AJAX request to a domain other than the current one, as it's a pretty basic security risk.

    jsFiddle have an API for testing AJAX requests which you should use instead.

提交回复
热议问题