sifuhall 0 Posted October 21, 2019 Report Share Posted October 21, 2019 Is there are quick way to count the number of times a particular element appears on a page?For example count how many times a textarea with a placeholder that matches the wildcard expression "* please reply here"? Quote Link to post Share on other sites
pash 504 Posted October 22, 2019 Report Share Posted October 22, 2019 try alert($list total($scrape attribute(<tagname="p">,"outerhtml"))) 1 Quote Link to post Share on other sites
sifuhall 0 Posted October 22, 2019 Author Report Share Posted October 22, 2019 Perfect! Thank you! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.