Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".forms").each(function () {
- $copii = $(this).children();
- $title =$copii[0].value;
- $description=$copii[1].value;
- console.log(' ',$title,' ',$description);
- $.ajax({
- type: "POST",
- url: "saveNews.php",
- data:{title:$title,description:$description}
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement