Javascript select nested class element

前端 未结 6 1176
遇见更好的自我
遇见更好的自我 2020-12-31 03:25

I\'m working on changing some elements the slider on my website

my slider code looks like this:

Some heading&

6条回答
  •  既然无缘
    2020-12-31 04:12

    If you use Jquery, the code is shorter than in native Javascript.

    $('.cl1 .sl_price').html("from only £00.00
    ");

    Here is the fiddle:

    http://jsfiddle.net/4zLbmrLq/

提交回复
热议问题