<script language="javascript">
document.writeln(document.location);
</script>

hi the above code display the url of the page that is load on, but i was wondering do you guys know of way to display traget windows url


for example

<form action="action.php" target="actionwindow">

this will open a new window with the hidden name actionwindow

but the page the code is write i would like to display the url of actionwindow.

humm maybe this is good example

running the page from http://yourdomain.com/index.html >then it will open a new window with a hidden name actionwindow with the url http://yourdomain.com/winner.html but i would like to display that url on the following url http://yourdomain.com/index.html or another new page

any ideas ?

Pass the name as text?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.