Subversion Repositories DevTools

Rev

Rev 13 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 13 Rev 25
Line 41... Line 41...
41
		var lastOption = combo.options.length
41
		var lastOption = combo.options.length
42
		
42
		
43
        //Remove current Combo options
43
        //Remove current Combo options
44
		for (i=0; i<lastOption; i++)
44
		for (i=0; i<lastOption; i++)
45
		{
45
		{
46
			combo.options[i] = null;
46
			combo.options[0] = null;//The combo box re-organizes itself therefore remove the first element
47
		}
47
		}
48
		
48
		
49
		//Populate combowith new items
49
		//Populate combowith new items
50
		var optionArray = str.split('|+|');
50
		var optionArray = str.split('|+|');
51
		
51