Menu

#383 Fail to open calendar

v1.0_(example)
open
nobody
None
2
2015-06-02
2015-06-02
No

I have a page with many inserts in PHP. For one of the inserts the calendars work very well (15 of them), but for another insert they just don't open. I copied the code from one inserted page to another and the forst showed fine. When I return the calendar code to the second it fails again. I do not know if there is a restriction about how many calendars per page can be shown.

The code is as follows:

~~~~
DATA: <input type="text" name="txt_fis_departure_date1" id="txt_fis_departure_date1" size="10" onkeypress="mascaradata(this)"/> <input name="button_16" id="f_button_16" value="DATA" type="button">
<script type="text/javascript">Calendar.setup({inputField : "txt_fis_departure_date1", <?php include("scripts/make_calendar16.txt"); ?></script>

Until the 15th button it's OK; from the 16th on it fails. Can you tell me why?

Discussion


Log in to post a comment.