Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html lang="en">
    <head>
<script src="//code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>SO question 2803532, with "plain" HTML/CSS/JS</title>
      <style>
            span.deleteicon {
                position: absolute;
              height:200px
            }
            span.deleteicon span {
                position: absolute;
                display: block;
                top: 5px;
              right: 6px;
                width: 16px;
                height: 15px;
                background: url('http://www.pramodandpreeya.com/guestbook/imgs/del.gif') 0 -6px;
                cursor: pointer;
            }
      </style>
    </head>
  <body>
        <span class="deleteicon">
            <input class="deletable" type="text">
            <span onclick="var input = this.previousSibling; input.value = '';"></span>
        </span>
    </body>
</html>
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers