SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Nov 2005
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Show and Hide Function

    Hi. I recently came across this thread, http://www.sitepoint.com/forums/showthread.php?t=315706&page=2, while I was searching for a hide and show function. I am new to javascript so I am not sure how I would use this function. Can someone help me out as to how to call this code within an html document?

    Thanks so much!
    patti j

  2. #2
    SitePoint Wizard Pepejeria's Avatar
    Join Date
    Jan 2005
    Location
    Too far up north
    Posts
    1,566
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My suggestion to you is that you read up on the JavaScript basics. Check out the sticky post on this forum for good links.

    But basically, to call a funciton, you call it by writing its name followed by ();

    Code:
    functionName();


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •