Use AJAX.
http://www.w3schools.com/Ajax/Default.Asp
IMO, DOM location and STRING range.
sort of,
DOM_LOCATION: div[0]>p[2]>span[1]
STRING_RANGE: 2:20
this means that the user of the line allocated from the 2nd character to the 20th character of the 2nd interval of the third paragraph of the 1st div, which is " monstration of some " from the example below.
<div>
<p>This has no use.</p>
<p><em>And so is</em> this one.</p>
<p><span>This</span> is the <span>demonstration of something wonderful</span>.</p>
</div>
All you have to do is change the location of the DOM and use the range.
source
share