Ajax replace text with image

后端 未结 2 536
心在旅途
心在旅途 2021-01-26 04:17

I have put together the following mootools script

 window.addEvent(\'domready\', function() {
    var shouts = \"timed.php\";
    var log = $(\'log_res\');
    f         


        
2条回答
  •  情话喂你
    2021-01-26 04:25

    Can you not do something like this:

    function updateData (url, target)
    {
      var target = $(target);
      target.innerHTML = 'Please wait...';
    
      //and the rest of the function
    }
    

提交回复
热议问题