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

salat-production,
<!DOCTYPE HTML>
<html>

<head>
  <title>Untitled</title>
  <meta charset="utf-8">
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
  <script>
  	$(function ()
  	  {var screens = '';
  	    $("#fieldset input").each(function()
  	      {
  	        screens += '"' + this.id + '" : ' + this.value + '<br>';
  	      }
  	    );
  	    $("#status").html(screens);
  	  }
  	)
  </script>
</head>

<body>
<div id="status"></div>
<span id="fieldset">
  <input class="id_name" name="id_name[]" id="id_name_1" value="A"/>
  <input class="id_name" name="id_name[]" id="id_name_2" value="B"/>
  <input class="id_name" name="id_name[]" id="id_name_3" value="C"/>
</span>
</body>
</html>
Ответить с цитированием