Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(document).ready(function(){
- $(".delete").each(function(){
- $(this).click(function(){
- var confirmAction = confirm("Opo arep di delete tenanan iki?");
- if(confirmAction == true) {
- $.ajax({
- url : $(this).attr("href"),
- type : "get",
- success : function(response){
- window.location = 'administrator.php?page=artikel';
- }
- });
- }
- return false;
- });
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement