Сообщение от tzarek
|
Не помогло(
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script>
$(function()
{
$('#close_button').click(function(){
var date1 = $('#basic_example_1').val();
var date2 = $('#basic_example_3').val();
var date3 = date1 + ' - ' + date2;
$('#example1').val(date3);
var temp = $('#example1').val();
alert(temp);
});
}
)
</script>
</head>
<body>
<input type="text" class="m-dotted" id="example1" onfocus = "$('#exampleModal1').arcticmodal()">
<div class="g-hidden">
<div class="box-modal" id="exampleModal1">
<input type="text" id="basic_example_1">
<input type="text" id="basic_example_3">
<br>
<button class="box-modal_close arcticmodal-close" id="close_button">OK</button>
</div>
</div>
</body>
</html>