Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6611215
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:56:31+00:00 2026-05-25T19:56:31+00:00

I am trying to use the Address plugin from http://www.asual.com/jquery/address/ and I really need

  • 0

I am trying to use the Address plugin from http://www.asual.com/jquery/address/ and I really need to be able to access the link or object that was clicked on that triggers the $.address.change function.

So basically, I have a link that looks like this:

<a href="#" class="active" rel="address:/show-my-activity">Activity</a>

And then I have the $.address.change function that looks like this:

<script language="javascript">
    $.address.internalChange(function (e) {
         // this is where I need to get the obj of what was clicked to trigger it
         // find out what the e.value is, and do the ajax needed
    });
</script>

I have already looped through all the properties of “e” but I can’t find anything that references me back to the object that was clicked. Here is what comes back from the “e” variable…

undefinedtype value :change
timeStamp value :1317227369056
jQuery1317227368799 value :true
value value :/show-my-activity
path value :/show-my-activity
pathNames value :show-my-activity
parameterNames value :
parameters value :[object Object]
queryString value :
result value :undefined
target value :[object Object]
currentTarget value :[object Object]
handler value :function (e) {
    var str;
    var obj = e;
    for (prop in obj) {
        str += prop + " value :" + obj[prop] + "\n";
    }
    alert(str);
    if (e.value === "/showMyActivity") {
    }
}
data value :undefined
handleObj value :[object Object]
preventDefault value :function () {
    this.isDefaultPrevented = Z;
    var a = this.originalEvent;
    if (a) {
        a.preventDefault && a.preventDefault();
        a.returnValue = false;
    }
}
stopPropagation value :function () {
    this.isPropagationStopped = Z;
    var a = this.originalEvent;
    if (a) {
        a.stopPropagation && a.stopPropagation();
        a.cancelBubble = true;
    }
}
stopImmediatePropagation value :function () {
    this.isImmediatePropagationStopped = Z;
    this.stopPropagation();
}
isDefaultPrevented value :function Y() {
    return false;
}
isPropagationStopped value :function Y() {
    return false;
}
isImmediatePropagationStopped value :function Y() {
    return false;
}

Any help would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T19:56:32+00:00Added an answer on May 25, 2026 at 7:56 pm

    Looking at the documentation here http://www.asual.com/jquery/address/docs/

    You can do this in your link’s click event.

    $('a').click(function() {  
        $.address.value($(this).attr('href'));  
    });  
    

    Then grab it with event.value.

    Edit: I updated the above solution with what I think might be helpful. Alternatively you can have a global variable that you assign your object to within its click event. Then you can use that variable within your other function.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use http://www.asual.com/jquery/address/ for history management, this works absolutely fine when we
I have a problem. I'm trying to integrate jQuery address http://www.asual.com/jquery/address/ into my website.
I'm trying use mod_rewrite to rewrite URLs from the following: http://www.site.com/one-two-file.php to http://www.site.com/one/two/file.php The
I am trying to use this plugin: http://docs.jquery.com/Plugins/Validation Where #user_new is the id for
I'm trying to understand how to use the jQuery address plugin for handling deep
I am trying use this example http://www.sajithmr.me/jrecorder/example2.html for recording audio and send it to
I'm trying to use Ben Keen's RSV Jquery plug-in to validate an e-mail address
Im trying to use the remote feature in the JQuery Validation Plugin to check
I am trying to use PEAR Mail to send from my gmail address using
I'm trying to use a small portion of js to web-scrape israeli address from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.