$.address is undefined problem

$.address is undefined problem

Hi,

In one website template, I am trying to use jquery address plugin. But I continuously get $.address is undefined error.

I have included the following js files in the given order:

<script type="text/javascript" src="js/jquery-1.7.2.min.js" ></script>
<script  type="text/javascript" src="js/jquery.address-1.4.min.js" ></script>


Then in my custom jquery code I have written an initialization function like:

$.address.init(function (e) {
        //some code that I perform to initialize local variables
    }).change(callbackfunction);


Now I always get an error that says
Cannot call method 'init' of undefined

When I checked, I found $.address is always undefined.

Any help to resolve this issue is appreciated.


Thanks a lot!