Variable for img src=

前端 未结 2 872
滥情空心
滥情空心 2020-12-10 13:16

I have a question. Firstly, I am not going to pretend that I know what I am talking about here. I am a newbie to http and JavaScript.

I think my question may be ans

2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-10 14:18

    You should just need to change this line

    document.write("http://host1/Shared/" + year + "/" + month + "/" + day + "/cpu_abs.gif");
    

    to

    return "http://host1/Shared/" + year + "/" + month + "/" + day + "/cpu_abs.gif";
    

提交回复
热议问题