I want to write a program that allows user input, then returns a certain value based on that input. Let me illustrate:
Say the user input was PNX.N, and I wanted to return the value for the class "data changeUp", where would I even begin?HTML Code:<tr class="dataSmall stripe"> <td> <a href="/finance/stocks/overview?symbol=PNX.N">PNX.N</a> </td> <td class="data">2.40</td> <td class="data changeUp">+0.86</td> </tr>
How can I write a program that reads values from the html?