Input type-button losing ID after Slide effect + Ajax reply
Hello friends!
This is my first post, sorry my poor english, isn't my native linguage.
I have a little <form> with fews labels and input type text.
In the end of this form, I have a input type button and the function:
$("#bntSendUpgradeAdminProfile").click(function() {
....
}
Almost is running fine, almost..
The form is sent via Ajax to a PHP file, that makes all the hard work and reply the same form with wrong fields. The processe have slide effects to create a cool transition.
The button $("#bntSendUpgradeAdminProfile") is sent with the form too.
When the code receives the Ajax reply (html), I send to the same original <div> and everything is showed perfectly.. ( the button comes in the html too).
But, the button $("#bntSendUpgradeAdminProfile") lose the click function! If I click again, nothing happens! The form wont be sent again.
Any ideas or tips?
Thanks for the all answers.