I am working on an enterprise application where I can have either several links present in table or none depending on the data.
The links appear in the table and have following code behind them:
<td class="Row">
<span id='s_3_2_14_0' >
<a href='JavaScript:SWETargetGotoURL("/eservice_enu/start.swe?SWECmd=GotoView&SWEView=Active+PO+Serial+View&SWEPostnApplet=Purchase+Order+List+Applet&SWEPostnRowId=1-KPBLOZ","_self")'>2001103009</a>
</span>
</td>
I need to find all the <a> tags present in the page inside <span> tag
having following text:
SWEView=Active+PO+Serial+View&SWEPostnApplet=Purchase+Order+List+Applet
I tried the following expression but it returns 0:
$('a[href*="SWEView=Active+PO+Serial+View&SWEPostnApplet=Purchase+Order+List+Applet"').length;
You are missing a ]