Código HTML:
<link type="text/css" href="css/custom-theme/jquery-ui-1.8.10.custom.css" rel="stylesheet" /> <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.10.custom.min.js"></script> <script type="text/javascript" src="includes/jquery.datePicker.js"></script>
Código HTML:
function searchPS() { $("#searchPS").datepicker({ dateFormat: 'yy-mm-dd' }); } function searchPE() { $("#searchPE").datepicker({ dateFormat: 'yy-mm-dd' }); }
Código HTML:
contentSEARCH = '<form>'; contentSEARCH += 'Period Start<input type="text" value="" size="10" maxlength="10" id="searchPS" name="searchPS" onfocus="searchPS();" />'; contentSEARCH += 'Period End<input type="text" value="" size="10" maxlength="10" id="searchPE" name="searchPE" onfocus="searchPE();" />'; contentSEARCH += '</form>';
Si no agrego:
Código HTML:
contentSEARCH = '<form>'; contentSEARCH += '</form>';
Sldos.