jQuery .load() not working in IE10

前端 未结 1 1471
隐瞒了意图╮
隐瞒了意图╮ 2021-01-26 02:50

I am having trouble with IE 10 and jQuery .load(). I have a PHP page that I load once the website proper has loaded:

$(document).ready( function() { 
    $(\'#wo         


        
1条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-26 03:23

    Try url encoding the character in the url

    $(document).ready( function() { 
        $('#words').html('
    Analyzing frequency data...
    '); $('#words').load('translate.php?character='+encodeURIComponent('')); });

    0 讨论(0)
提交回复
热议问题