Datepicker Problem

Datepicker Problem

I'm trying to create a datepicker inside a <div> tag like this

index.html
  1. <div id="tab-information"></div>
SomeJSScript.js
  1.       $("#tab-information").append('<p><input type="text" id="datepicker"></input></p>');

I'm making some other things on the javascript file and works fine, only this line doesn't work.
Some help?