• Archives

    » Javascript
Apr
18

.live() and the future

Just recently i seen this used by a co-worker, and did not know much about this. So I took some time and looked it up on the jQuery site docs. I was amazed by what it does, the .live() function will match any element now and in the future! This means if you .load() a [...]

Feb
9

Cookies with JQuery

So in some of my latest projects i dont have full source access, so i need to look for cookies the main application is setting. To do this i am using jQuery to look into the cookies and give me the value. Once i know the value i can then write a new cookie that [...]

Oct
28

The OO way of JavaScript

This is something I picked up in making my own functions and trying not to effect my other js libraries. I first start by creating a base function like so:

function Wrapper() {
 
}

Then inside that function I create my “methods” if you will…

function Wrapper() {
this.MyMethod = function(var) {
[...]