<td class="fightMobster"> <div> <a href="/profile.php?puid=2061218&formNonce=612e29a7f96d34031110caf4901fcf2a7d2ef226&setTab1Badge=2&h=4ee8feb8f08d043f2d8bbf48aeb2de5cd04011d7">PLAYER ONE</a> </div> <div>Lvl 283 Savage</div> </td> <td class="fightSp"></td> <td class="fightMobSize"> <span class="cash"> <span style="white-space: nowrap;"> <img width="9" height="12" style="padding-right:2px" src="http://static.storm8.com/vl/images/blood.png?v=330"> 8,500 </span> </span> </td> <td class="fightSpLg"></td> <td class="fightAction"> <script> function fsb78855410() { var b=new Array(55,102,97,57,54,100,51,57,50,101,50,52,48,49,54,61,101,51,99,110,49,111,49,49,48,99,97,102,78,52,57,109,48,49,102,99,102,114,50,111,97,102,38,48,49,55,52,53,53,56,100,50,56,55,61,101,102,50,50,100,73,116,115,105,54,108,38,104,61,116,54,99,55,105,104,54,38,97,100,116,104,103,50,56,105,50,102,61,110,111,105,53,116,99,97,100,51,99,99,57,101,38,112,98,104,57,57,102,99,49,112,48,46,51,50,51,54,50,116,55,50,104,57,103,53,54,105,97,102,102,61,99,100,98,57,97,116,48,51,63,112,104,112,46,116,115,105,108,116,105,104); var p=new Array(1,0,1,0,0,0,0,1,1,1,1,0,0,1,1,1,1,0,1,1,0,1,0,0,0,0,0,0,1,0,0,1,0,0,0,0,0,1,0,1,0,1,1,1,1,0,1,1,1,1,0,0,1,1,1,0,0,0,0,1,1,1,1,1,0,1,0,0,0,1,0,0,0,1,1,0,1,0,0,1,1,1,0,0,1,0,1,1,1,1,1,0,1,1,1,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1); window.location = c(b,p); return false; } </script> <a onclick="return fsb78855410();" href="/hitlist.php?tab=fight.php&action=fight&hitlistId=78855410&formNonce=612e29a7f96d34031110caf4901fcf2a7d2ef226&h=284e4fe4946e6fb8af3a662f4583454eebc8bd23"> <div class="fightActionInner"> <div class="fightActionInnerInner">Attack</div> </div> </a> </td> Code (markup): Hi, can someone please take a look at the code above, and advise some Javascript. What I'm hoping to achieve, is to search the page for a specific string of text. In this case, I would search for PLAYER ONE (as in the code example above - it's in td class="fightMobster"), and then click Attack directly at the side (or directly under) the specified searched for text (which would be in td class="fightActionInnerInner"). Any help is huge.
For the life of me I can't even figure out what the code you posted even has to do with your question... but then it does reek of a ton of excess markup for nothing.
Hi deathshadow, I posted the code in my initial post to give any potential helpers a better chance of understanding what I was trying to achieve. By providing this, I had hoped my poor explanation skills would be forgiven. Do you have any input on this particular topic?