1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[request] javascript

Discussion in 'HTML & JavaScript' started by pholada, Aug 26, 2014.

  1. pholada

    pholada Newbie

    Joined:
    Jul 10, 2014
    Messages:
    5
    Likes Received:
    0
    Hello. I need code.

    I want, on the website, with mouse one click (or on the button click), run my Javascript. Example this: goo.gl/2Ke9v9

    Can anyone help me?

    Respect from GEORGIA! (and sorry for my bad english)
     
    Last edited: Aug 26, 2014
  2. Bot Solutions

    Bot Solutions Regular Member

    Joined:
    Aug 19, 2014
    Messages:
    215
    Likes Received:
    361
    Occupation:
    Bot maker
    Location:
    Hungary
    Home Page:
    Check out my sig OP.
    I write bots in javascript
     
  3. pholada

    pholada Newbie

    Joined:
    Jul 10, 2014
    Messages:
    5
    Likes Received:
    0
    Please, add me on skype (i add you now). i want this bro, can you help me?
     
  4. journeycoder

    journeycoder Newbie

    Joined:
    Aug 31, 2014
    Messages:
    27
    Likes Received:
    3
    Occupation:
    Coder: asp.net, js, php,wordpress, genesis,tools,
    Location:
    bestmicroovens.com
    Home Page:
    <script>

    function mouseClick(url) {
    top.location.href = url;
    }
    </script>
    <input type="button" id="btnpost" name="btnpost" value="Post" onclick="return mouseClick('your url');"/>