spewn
Programmer
- May 7, 2001
- 1,034
*************************************
<script language=javascript type="text/javascript">
function here1(){
if (this.location.URL == 'go.html') document.write('this works!');
else document.write('it still does not work');
}
</script>
<input type=button value=go onclick="javascript:here1()"></input>
***************************************
okay, where is the problem? i can't seem to get it to say 'this works!', even when i'm on the right page, when the url matches the page, that is...
so easy, i'm sure, just not using the right whatever.whatever, right?
-crispy
<script language=javascript type="text/javascript">
function here1(){
if (this.location.URL == 'go.html') document.write('this works!');
else document.write('it still does not work');
}
</script>
<input type=button value=go onclick="javascript:here1()"></input>
***************************************
okay, where is the problem? i can't seem to get it to say 'this works!', even when i'm on the right page, when the url matches the page, that is...
so easy, i'm sure, just not using the right whatever.whatever, right?
-crispy