I encounter a problem with jQuery and anchors which href concerns a microsoft desktop windows application. I am working on an internal app which provides links such as :
<a id="launch-21" class="launch-app" href="c:\windows\explorer.exe" target="_blank">
I would like to target all the link containing windows for instance in order to bind the following actions :
jQuery('a[href*="windows"]').click(function(event){
alert("use this link in your windows workstation");
event.preventDefault();
});
This has no absolutly no effect. But when I run the following selector, elements are well returned.
It seems the treatment doesn't work with hard drive links ? jQuery('a[href*="windows"]') Does anybody an help me ?