Link to home
Start Free TrialLog in
Avatar of hankknight
hankknightFlag for Canada

asked on

jQuery: Modify what is displayed at bottom of browser when you hover over link

When you hover over a link, the browser shows the URL of that link at the bottom (usually at the bottom-left).  Using jQuery, how can this be modified for matching links?

$('#xyz a').each(function () {
 $(this).attr('href','xyz');
 $(this).attr('???','Hello world'); 
 // Should say "Hello World" at the bottom of the browser when you hover over the link
});

Open in new window

Avatar of David S.
David S.
Flag of United States of America image

The "window.status" property can be used to control that, however, many browsers have an option to disable that.
Avatar of hankknight

ASKER

How can I use jQuery with the "window.status" property so that it only applies to matching links?
$('p a').each(function () {
 $(this).attr('href','xyz');
 $(this).attr('window.status','Hello world'); 
});

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of David S.
David S.
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial