Как мне выбрать первый элемент в следующем с помощью jQuery? <div> <h1>heading</h1> <p>How do I select this element with jQuery?</p> <p>Another paragraph</p> </div> 27 javascript jquery jquery-selectors задан Web_Designer 16 December 2011 в 07:40 поделиться
с помощью jQuery? <div> <h1>heading</h1> <p>How do I select this element with jQuery?</p> <p>Another paragraph</p> </div> 27 javascript jquery jquery-selectors задан Web_Designer 16 December 2011 в 07:40 поделиться
<div> <h1>heading</h1> <p>How do I select this element with jQuery?</p> <p>Another paragraph</p> </div>
$('div p').first()
Должно работать. Я думаю.