Archive for the ‘Programming’ Category
Accessing Window Parent elements with jQuery
How to access window parent elements with jQuery. $(window.parent.document.body).find(‘div.product’);
Direct Admin how to get Access logs
The easy way is by this rule, maybe there is and somewhere in a menu. http://:2222/CMD_SHOW_LOG?domain=&type=log
Prototype – jQuery serialize
if you changing javascript framework and jQuery serialize() method doesn’t work as good as you expected – like on prototype. user jQuery serializeArray() method. it equals to protype’s .serialize()
Javascript debug function
Some useful function for debugging javascript objects. function debug(o) { var s = null; for ( p in o ) s += p + ‘ – ‘ + o[p] + ‘\r\n’; alert(s); } Do you know better one, or updated version of this code? Please share it with all of Us.