Displaying 2 results from an estimated 2 matches for "createtoc".
Did you mean:
createfoo
2006 Jun 20
4
Prototype Array bug??
function CreateTOC(){
var $aTOC = document.getElementsByClassName(''tocitem'');
var $temp = '''';
if(isArray($aTOC)){
for($t in $aTOC){
$temp += ''t='' + $t + '', '' + $aTOC[$t].name +
''<BR>'';
}
$(...
2006 Jun 21
3
getElementsByClassName
How should I expect the performance of this function to be?
I wrote this code:
function CreateTOC(){
var $aTOC = document.getElementsByClassName(''tocitem'');
if(isArray($aTOC)){
$temp = ''<INPUT TYPE="SUBMIT" NAME="cmdSave_Update"
VALUE="Close" CLASS="menubuttons"> '';
$temp += ''<INPUT TYPE=&...