I am currently having problems with the following (here is a sample code):
<div id="container"></div> <script type="text/javascript"> $('#container').load('content.html'); $('.elementInContentHTML').fadeIn(); </script>
In short, I want to have access to elements that have been dynamically added to the page without binding them to event handlers.
I know about the live()
method, but I donβt want to bind my action to any event, that is, I just want to perform some actions with these new elements without pressing them, blur, etc.
javascript jquery ajax asynchronous
finferflu
source share