Hi,
Simple question (I hope). I have a page that contains links that when clicked loads up new content into a specified div. The content that gets loaded (a partial view) contains further links that fire JavaScript code (jQuery).
I have been hooking these links up using jQuery's live
system. It has been recommended to me that I wire-up the buttons in the partial views by placing JavaScript directly into these views or by adding onclick
handlers directly to the links (rather than wiring them up with jQuery).
Is there a 'best practice' to hooking up dynamic content?