当前位置: 代码迷 >> JavaScript >> 惯用的js 时间选择器 DateTime picker
  详细解决方案

惯用的js 时间选择器 DateTime picker

热度:755   发布时间:2012-07-23 09:42:19.0
常用的js 时间选择器 DateTime picker
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="content-type" content="text/html; charset=GB2312">
		<title>Protoplasm</title>
		<link rel="stylesheet" href="datepicker_files/protoplasm_002.css">
		<script type="text/javascript" language="javascript" src="datepicker_files/prototype.js"></script>		
		<script type="text/javascript" language="javascript" src="datepicker_files/protoplasm.js"></script>
        <link href="datepicker_files/protoplasm.css" type="text/css" rel="stylesheet">
		<script type="text/javascript" language="javascript">
			Protoplasm.use('datepicker').transform('.datetimepicker_es', { locale: 'es_AR', timePicker: true, use24hrs: true });

		</script>
		<script type="text/javascript" src="datepicker_files/datepicker.js"></script>
		<script type="text/javascript" src="datepicker_files/timepicker.js"></script>
        <link href="datepicker_files/datepicker.css" type="text/css" rel="stylesheet">
        <link href="datepicker_files/timepicker.css" type="text/css" rel="stylesheet">
	</head>
	<body>

<form onsubmit="return false;">
	
	<div style="float:left; width:250px;">Date and time:</div>
<input value="06-21-2012 11:42:00" class="datetimepicker_es">
	
</form>

	
</body></html>
?

http://www.daimami.com/img/2014/01/01/0732458709.png

?

  相关解决方案