|
-
document.getElementById('xxx').src is not working
Hi people, I have the following code. It is not working for firefox, IExplorer and Opera. Could you help me? Which could be the error?
thanks,
<script id="url" name="url" language="JavaScript" type="text/javascript" src=""></script>
<script language="JavaScript" type="text/javascript">
var u = document.getElementByName("url");
var l = document.location;
u.src = 'http://localhost/ato.aspx?&key=6346&refnum=jpwAw&location=' + l;
</script>
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks