Category Archives: javascript

cancelBubble

ShareI have this function but something was wrong with firefox. I got undefine value. After taking a closer look in my code I forgot to pass the ‘event’ parameter on my function. function dps_cancel_bubble(e) { if (!e) var e = … Continue reading

Posted in javascript | Tagged , , , , , , | Leave a comment

array push in javascript

Share Example: for(d = 0; d< arr.length; d++){ arr2[arr2.length++] = arr[d]; } source: http://blog.dreamvib.com/programming/javascript-array_push/

Posted in javascript | Tagged , | Leave a comment

Jason’s Date Input Calendar

ShareJust check the source of this post below for the js code and sample. Anyway if you got them already You can use the additional info for your quick reference. Additional Information Below describes function “DateInput()” in detail, which you … Continue reading

Posted in javascript | Tagged , , , , | 2 Comments

javascript: 127.0.0.1:1025/js.cgi?paw&r=

ShareI’m getting this on most of the websites I visit. But when I try to visit the same site on different location I don’t have it when viewing the source code. And since 1025 port is used by some trojans … Continue reading

Posted in javascript | Tagged | 4 Comments

javascript: typeof

Share typeof returns one of the following strings: number string boolean object function undefined typeof(typeof(x)) is always string, no matter what x actually is. IE seems to think that some functions are objects rather than functions: typeof(document.getElementById) returns object.   … Continue reading

Posted in javascript | Tagged , | Leave a comment