BreadCrumbs: JavaScript


From Luke Jackson

Revision as of 18:15, 17 June 2018; Ljackson (Talk | contribs)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
Jump to: navigation, search


count(//td[text() ="Men's XL"])
//td[text() ="Men's XL"]
//option/@value | //select/@id | //input/@id | //select/optgroup/@label | //option/text()

Chrome Xpath

Open developer tools to access the console and use the xpath function call to iterate the array of option items for the select object. Log them to the console using a for each function loop.



Personal tools