jquery-address icon indicating copy to clipboard operation
jquery-address copied to clipboard

$('a.rwajax').address().change() is not working

Open pandikamal opened this issue 12 years ago • 2 comments

we can't declare for particular dom object , its refreshing the page. i don't want $.address() in some of the pages.

Example:

$('a.rwajax').address.state('/rw2011').init(function(){ $('a.rwajax').address(function(){return getUri($(this).attr('href'));});
}).bind('change', function(event) { // here loading page stuff });

its possible to assign the $.address() for specific dom object. please give me suggestion.

pandikamal avatar Mar 28 '12 15:03 pandikamal

The syntax should be the following:

$.address.state('/rw2011').init(function(event) {
    $('a.rwajax').address();
}).change(function(event) {
    // here loading page stuff
});

asual avatar Mar 28 '12 17:03 asual

ok, but i want to refresh the login page only then it works modern browsers but not working in ie browser. ie browser url like this http://localhost/rw2011/#/sign-up

in this case how to change the code.

pandikamal avatar Mar 29 '12 07:03 pandikamal