Cannot set property 'src' of null

前端 未结 4 2068
一整个雨季
一整个雨季 2021-01-21 12:25

I am trying to rotate an image using javascript and I was trying some code I found on adobes website that does what I was looking for. When I run it it gives me the error: Unca

4条回答
  •  长发绾君心
    2021-01-21 12:47

    I met this problems too.You can make document.getElementById(rotatedImageId) before you use that function. Another word,you can define rotator to gobal. This is how i solved this problem.

提交回复
热议问题