Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
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
593
posted 14 years ago by arunpjohny
This function is add 'each' function to the javascript Array object.
1
519
posted 14 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
4130
posted 16 years ago by arunpjohny