I would like to know if it is possible to capture a commented remark using JavaScript.
The remark will look like this on the soruce code:
<div id='ContainerId'>
<!-- NON IDEAL REASON: 90 min time window depart arrive -->
<b>1,107.45 GBP</b><br />
<!--LLF: 1107.45 -->
</div>
I need to save that value (in this case 1107.45) inside a variable.
This doesn't seem to work:
var LLF = jQuery("contains('LLF')");
Any ideas?
Thanks!