querySelector('#some-elem'); // Find the first element inside `#some-elem` that has a `[data-snack]` attribute var snack = elem.
確定! 回上一頁