Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function(){
- $("body").append('<div onclick="clickevent();" style="width:203px;height:42px;background:grey;color:#fff;line-height:42px;position:absolute;text-align:center;font-size:20px;border:1px solid #222;box-shadow:0 0 8px #000;top:21px;right:0;left:0;margin:auto;border-radius:5px;cursor:pointer;">Send Gifs</div>');
- });
- function clickevent() {
- var input = document.getElementById("chat_input");
- var btn = $(".chat-form");
- var test = ["Hi guys!)Welcome to my room!Tip me please if you want to see more!Help me reach my goal and have a lot of fun together!!!"];
- $.each(test, function(index, value) {
- input.value = value;
- btn.submit();
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement