yes this was it.
when not using html() and setting values with "normal" dom-operations instead I wouldn't need to rebind, correct? jay-125 wrote: > > > If you do: > > $(anyElement).html("<div id="blah">blah</div>"); > > then you will need to do: > $('#bla').bind("click",function(){.....}); > > after the html() call. > > Does this answer your question? > > On Jan 23, 11:30 am, aldana <ald...@gmx.de> wrote: >> I am binding elements inside document.ready(): >> $('#bla').bind("click",function(){.....}); >> >> At some point html is added dynamically: >> anyElement.html=" " >> >> would then a callback added to the dom representation of the dynamically >> added snippet also or would i need again to call $('#bla').bind(...)? >> >> thanks. >> >> ----- >> manuel aldana >> aldana((at))gmx.de >> software-engineering blog:http://www.aldana-online.de >> -- >> View this message in >> context:http://www.nabble.com/neccessity-of-binding-update-after-adding-html-... >> Sent from the jQuery General Discussion mailing list archive at >> Nabble.com. > > ----- manuel aldana aldana((at))gmx.de software-engineering blog: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/neccessity-of-binding-update-after-adding-html-dynamically-tp21627822s27240p21630219.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.