Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form id='sherehe' action='#' method='POST' style='background-color:yellow;'>
- <img type='submit' src='pictured/sharepictures/sea.png' id='imagebutton' value='GET-THESE-VALUES/TEXTS' style=' cursor:pointer; border:2px solid red; border-radius:10px; width:40%; margin-left:2px; height:40%;'></img>
- </form>
- //javascript
- <script type="text/JavaScript">
- $(document).ready(function () {
- //listen to submit button for share
- $('#sherehe').click(function (e) {
- e.preventDefault();
- var linkTogo = $("#linkTogo").val();
- $.post("server.php", {
- linkTogo : linkTogo ,
- });
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement