What does `a > b` mean?

前端 未结 4 813
无人及你
无人及你 2021-01-23 07:48

I\'m reading a tutorial about creating a shoutbox with jquery, php and ajax. In the jquery code, it creates a variable like this

var messageList = $(\".content &         


        
4条回答
  •  一整个雨季
    2021-01-23 08:19

    It searches for a ul that's the direct child of .content, so if you'd change the html to

      your selector wouldn't return anything. There's more info on all kinds of selectors on http://api.jquery.com/category/selectors/

    提交回复
    热议问题