I use Zend, PHP, AJAX, JQuery in my projects. The question is, how can I make it not to display the link to the browser status bar when I hover over the link on my web page.
The best example on this site is when you hover over the vote on this site, it does not show the link and after the click of the vote has increased without refreshing the page.
thank
, (.. ). , onclick.
JavaScript , window.status = ""; .
, ...
[Html] <img id="clickme" src="myimage.png" alt="My Image" title="Vote"> [JavaScript (jQuery)] $("#clickme").click(function() { alert("You clicked me"); });
- window.status = "";, , .
window.status = "";
.
, - , , <a> - href, .
<a>
href
HTML SO, , "" - , javascript, onclick.
onclick
, ""? - CSS cursor.
cursor
.vote img { cursor:pointer; }
CSS all.css.
, <a> href.
JavaScript href, .
( ), , . , ajax , https://stackoverflow.com/posts/2207467/vote/, .
Source: https://habr.com/ru/post/1731550/More articles:How to clear string fields containing HTML at the model level? - javaWhy does my Perl routine return false even if the parameters are valid? - validationAn unusual error occurred when using the expression language in JSP for a specific property only. - javaCSS Compliance Tool - javascriptМодель модели Django: возможно ли добавление связанной модели? - djangoHow to zoom in and out using jquery? - jqueryiPhone UITabBarController - iphoneHow do you make something slowly appear on the page using Javascript? - javascriptJavascript: Fade element from specified opacity to specified opacity? - javascriptVoice Conference - How Do More People Talk? - c #All Articles