This is what i’m trying to do in pseudo code
Find all <td> Elements with Class name 'OSGridRef'
For each <td> element pass the text of that <td> element into a function called ConvertToLatLong
Update an <td> element in the same table row that has the class name 'LatLong' with the results of the function.
I haven’t the foggiest how to do this in regular JavaScript or in jQuery.
Any Ideas?
This should do it. When you say ‘content’ I assume you mean all the text inside?