Profile
Achievement
 
    
                arunpjohny's Recent SnippetsTagged javascript
- All /
 « Prev 1 Next »
This can be tested using the following piece of code
		var a = [1, 2, 3, 4, 5];
		alert(a.size());
        
        
        
            0 
        
        
            1088 
        
                    posted 15 years ago by arunpjohny
            This function is add 'each' function to the javascript Array object.
        
        
        
            1 
        
        
            956 
        
                    posted 15 years ago by arunpjohny
            I got this code from http://blog.vishalon.net/Post/57.aspx
The actual two methods required are
function doGetCaretPosition (ctrl) {
	var CaretPos = 0;
	// IE Support
	if (document.selection) {
		ctrl.focus ();
		var Sel = document.select...
        
        
        
            3 
        
        
            5089 
        
                    posted 17 years ago by arunpjohny