I have 2 pages: index.php and form1.php. In my index.php I have a button which has function to load content of form1.php on div:
$("#btnLoadContent").button().click(function(){
$("#divcontent").empty().load("form1.php")});
On form1.php y have a form and a button named btnSend. On index i'm using this:
$("#btnSend").button();
but when loaded, this button doesn't have the style or functionality of the implemented script. And I haven't realized why.