Shou adlı üyeden alıntı: mesajı görüntüle
    <script type="text/javascript">
    $('a').click(function (e) {
if (! $(this).attr('href') ) {
$(this).attr("href", "#");
e.preventDefault();
}
});
</script>
Böyle ekledim ama işe yaramadı.
sitenizde jquery kütüphanesi ekli mi?

<script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.js"></script>
şu şekilde ekleyin:

<script type="text/javascript">
$(window).load(function(){
$('a').click(function (e) {
if (! $(this).attr('href') ) {
$(this).attr("href", "#");
e.preventDefault();
}
});
});
</script>