title: Using jquery datepicker in modal window
body: <p>Hi I'm creating modal windows using rails 3, jquery and ajax. The idea is in order to edit objects or create new ones, the window pops up, you edit or create whatever you need and that's it. </p>
  
  <p>However I also want to use datepicker from jquery, inside the modal window. Everything works fine and the calendar pops up when I need it... as long as is not in the modal window. The reason seems to be that when the window pops up, and I check the source code... there's nothing, is as if it doesn't exist, it just shows me whatever is behind the window.</p>
  
  <p>Does this make any sense or has anyone come across something similar?</p>