Hi. I have the array room[$i][period][]
which i use in a number of text fields.
I have a javascript calendar which i use to enter dates in these fields. The code is
onClick='popUpCalendar(this, AddNewHotel.room[2][period][], "d mmm yyyy")'
(room[2]... changes for every text box of course.)
However this code doesn't work. I tried a lot of calendars but i get stuck when i use arrays for my fields. If for example i use room$i to get room1, room2, etc it works ok.
Is there a solution to this? Actually this is a javascript question but it is related to PHP in a way 🙂
Thanks
John