Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] document.getElementById has no properties
- From: peter at brunone.com (Peter Brunone)
- Subject: [Javascript] document.getElementById has no properties
- Date: Tue Sep 20 12:45:36 2005
Vinayak,
It looks like maybe your server-side PHP stuff isn't executing...? If so, those angle brackets inside your anchor tag could be wreaking havoc on the HTML parser.
What do you see around there when you View Source in the browser?
Peter
From: Vinayakam Murugan mvinayakam@xxxxxxxxx
Hi
I am trying to append a preloaded image to a tag. It is giving me the following error
Error: document.getElementById("bottomback") has no properties
Source File: http://192.168.100.11/app_dir/layout/preload.php?Language_Id=01&Class_Id=first
Line: 63
------------------------------------------
<a id="bottomback" name="bottomback" class="back" href="<?echo $Back_Link?>;showmouse();"></a>
<script type="text/javascript">
document.getElementById("bottomback").appendChild(top.bottombar[1][<?=$Language_Id?>]);
</script>
------------------------------------------
Any ideas, I have googled but it didn't help much.
--
Warm Regards
~~~~~~~~~~~~~~~
Vinayak
http://theregoesanotherday.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20050920/0d4ac74f/attachment.html
- Prev by Date: [Javascript] Controling a SELECT from a child window
- Next by Date: [Javascript] Controling a SELECT from a child window
- Previous by thread: [Javascript] document.getElementById has no properties
- Next by thread: [Javascript] automated response
- Index(es):