(e-mail address removed) a écrit :
i need to read the html tag from the webpage.
is it possible to view the source code?
from that URL how to get the specific html tag content ?
<script type="text/javascript">
function voir_source(){window.location="view-source:"+window.location}
</script>
<p><button onclick="voir_source()">see source</button></p>
for the html tag :
<script type="text/javascript">
function seeSource() {
var all = document.getElementsByTagName('HTML')[0].innerHTML;
all = all.replace(/</g,'<');
document.getElementById('surce').innerHTML = all;
}
</script>
<p><button onclick="seeSource()">see source</button></p>
<pre id="surce">
</pre>