Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to hide or replace a link using javascript:void(0).

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40736
    faizdbadshah
    Member

    Sir i want to ask you that how can i hide a link using javascript and make a funtion to call that link from a sql database.

    #113987
    TreeRoot
    Participant

    You can use jQuery to hide a link(s):

    $(function() {
    // hide by class
    $(‘a.class-of-link-to-hide’).hide();

    // or hide by ID
    $(‘#id-of-link-to-hide’).hide();
    });

    I don’t know what you mean about “make a function to call that link…”

    What are you trying to accomplish?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.