1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to Hide Javascript

Discussion in 'JavaScript' started by webcosmo, Apr 17, 2007.

  1. #1
    webcosmo, Apr 17, 2007 IP
  2. Aragorn

    Aragorn Peon

    Messages:
    1,491
    Likes Received:
    72
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Edit the code
    <a id="dlSites__ctl1_linkbtnAddFavorite" href="javascript:__doPostBack('dlSites$_ctl1$linkbtnAddFavorite','')">Ask</a>
    Code (markup):
    to
    <a id="dlSites__ctl1_linkbtnAddFavorite" href="#" on click="__doPostBack('dlSites$_ctl1$linkbtnAddFavorite','');return false;">Ask</a>
    Code (markup):
     
    Aragorn, Apr 18, 2007 IP
    webcosmo likes this.
  3. webcosmo

    webcosmo Notable Member

    Messages:
    5,840
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #3
    let me try that. thank you.
     
    webcosmo, Apr 18, 2007 IP
  4. ajsa52

    ajsa52 Well-Known Member

    Messages:
    3,426
    Likes Received:
    125
    Best Answers:
    0
    Trophy Points:
    160
    #4
    On the code from Aragorn there is a misspell.
    Replace on click with onClick
     
    ajsa52, Apr 18, 2007 IP
    Aragorn likes this.
  5. Aragorn

    Aragorn Peon

    Messages:
    1,491
    Likes Received:
    72
    Best Answers:
    1
    Trophy Points:
    0
    #5
    Oops! I'm sorry. Thanks for pointing it out :)
     
    Aragorn, Apr 19, 2007 IP