Here's my issue...
I have a div on my page that I change the inner HTML on everytime the user changes a specific thing on the page. I get what to put in the div through an AJAX call. There are many places where you can put dates that I would like to use the calendar for.
So, for example, let's say I have 5 input fields. I modified the calendar_us.js file to return the html created so that I can just swap it into a span tag that is directly after my input field.
If I do it for just 1 input, the calendar works correctly. If I loop through and create multiple calendars, for multiple inputs, it creates the icons just fine except that they are all tied to the last input field/calendar.
Anybody run into something like this?