Показать сообщение отдельно
  #2 (permalink)  
Старый 07.09.2019, 19:10
Аватар для рони
Профессор
Отправить личное сообщение для рони Посмотреть профиль Найти все сообщения от рони
 
Регистрация: 27.05.2010
Сообщений: 33,068

karnager,
<!DOCTYPE html>

<html>
<head>
  <title>Untitled</title>
  <meta charset="utf-8">
  <style type="text/css">
  </style>
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>

  <script>
$(function() {
    $(document).on("click", "form", function() {
    alert(this.getAttribute("action"));
});
});
  </script>
</head>

<body>
<form action="call2/5" method="post" class="bp">test click</form>
 <form action="order2/5" method="post">test click</form>
 <form action="order/5" method="post">test click</form>
 <form action="order/5" method="post">test click</form>
 <form action="order/5" method="post">test click</form>
 <form action="call" method="post">test click</form>
 <form action="feedback" method="post">test click</form>
 </body>
</html>
Ответить с цитированием