I have been working on Flawless_koder suggestion for the
past view hours, I come close the what I need but not quite...
I used the document.all.item() method to access the src attribute
and it seems to work, but the page does not change at all !!
Code:
<script name="esp" id="esp" src="http://startpagina.elprincipio.net/mkstat/esp/espotxml.php?keyword=internet&page=1" language="JavaScript"></script>
<script language="Javascript">
function esp_next(id,page,keyw){
document.all.item('esp').src="http://startpagina.elprincipio.net/mkstat/esp/espotxml.php?keyword="+keyw+"&page="+page;
}
</script>
<a href=JavaScript:esp_next("esp","2","internet")> next page(2)</a>
<a href=JavaScript:esp_next("esp","3","internet")> next page(3)</a>
What happens is that indeed the src of the script is changed, I also
know that the php file was hit at the server, but the page does not change at all ??
adding a
Code:
top.location=top.location
to force a rewrite does not help. Anny ideas how to make sure the
JS is reinterpreted without overwritting it with the original code ??
Matthijs
Bookmarks