Reply LinkBack Thread Tools Search this Thread
Old 20-09-2006, 18:33   #1 (permalink)
Skidzy McFergus
Registered User
 
Join Date: Nov 2005
Posts: 57
Limit on Javascript string length

I have a small Javavscript function which recieves some text and a table cell ID (both PHP variables). On mouseover the text is displayed in the specified cell. This is ok if the length of the text string isn't too long but over a certain length the text isn't displayed. Do i need to increase the length of string the Javascript code will accept? If so how?

function display(text,cell){
var getText = document.getElementById(cell).innerHTML += text;
}
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8