Thread: string capacity
View Single Post
  #4 (permalink)  
Old Sep 22nd, 2006, 08:14
Don Logan Don Logan is offline
Junior Member
Join Date: Mar 2006
Age: 21
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Re: string capacity

Maybe I should have included this line of PHP which calls the function with the php variables $text and $cellID.

echo "<a href='$location' onmouseover='display(\"$text", \"$cellID\")'>$link</a>";

Here's the function again: -
function display(text,cell){
var getText = document.getElementById(cell).innerHTML += text;
}

The code works apart from the described string length problem.

Thanks

Don
Reply With Quote