Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<script src="//code.jquery.com/jquery-1.9.1.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
<div class="emailPage"></div>
  <div style="display:block" id="fancyBoxHidden">
  <div style="display:visible" id="emailPage">
    <h1 style="font-family:Georgia;color:#98012e;font-size:24px;font-style:italic;;padding:0 0 10px;">Email this page</h1>
    <form id="emailForm">
    <input type="text" id="email" style="display:block;width:192px;" value="Email address" onfocus="this.value=''" />
    <input type="hidden" id="page" value="<?php echo $postID ?>" />
        <img id="send" style="cursor:pointer;float:right;padding-top:10px;" src="<?php bloginfo('template_url'); ?>/images/btn_send.png" alt="Send"/>
    </form>
  </div>
  </div>
  <div class="cleared"></div>
</body>
</html>
 
$(document).ready(function(){
 $('#send').click(function(){
  console.log("clicked...");
 });
});
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers