|
-
November 9th, 2003, 03:30 AM
#1
change text in javascript
Hi guys...
I tried to write a little script that changes a text in div element every time i put my mouse over a link... I have something like this
the script:
<script language='text/javascript'>
function zmentext(text)
{
document.all.popisek.innerHTML = text;
}
</script>
link:
zmen to
and div element:
<div ID="popisek" style='position:relative; top:0; left:40;'>huhuhuu</div>
but every time I place my mouse over the link I get object expected error... What am I doing wrong?
Thank you all for your answers
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
|
|