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

Home Forums JavaScript Hiding link once content is opened

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #35711


    I have a comment area which is opened when a link is clicked on, I added a button so you can close the content. But I want to know how can I hide the link when the comment form is opened, and when you click the close button the content his hidden but the link is returned.

    Here’s a link to the form:


    Super easy, you just give the link an id or class, and add it to the slide toggle call. Like so:

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