Can't Access CSS Selector's Properties from Javascript

前端 未结 5 794
隐瞒了意图╮
隐瞒了意图╮ 2020-12-06 08:21

Here\'s a very basic question: why is the finishLoading() function in the code below not able to access the \'opacity\' property for the #myStyle CSS selector? The alert doe

5条回答
  •  佛祖请我去吃肉
    2020-12-06 08:44

    I suggest you take a look at jQuery and some of the posts at Learning jQuery, it will make doing things like this very easy.

提交回复
热议问题