Search the Community
Showing results for tags 'get the value of tag that has'.
The search index is currently processing. Current results may not be complete.
HiI want find the tag by "Itemprop" value by java-script. <td valign="top" itemprop="productID">260871544234</td> I want a code that it returen the value of a TD that it has an attribute "itemprop='productID'" this code search for <TD> tags and if it has "itemprop='productID'" , get its value, for example it return 260871544234 I want get text that write on <TD></TD> tag. and <TD> Tag must this attribute "itemprop='productID'" so this <TD> is valid to getting it's value. I need 260871544234 thanks for your help