Content will go here
Click "A" or "B" above to load content. Button "A" loads content as follows: $('#drop').load('content.html'); Button "B" loads content from the same URL, but also includes a selector so that only the "target" element is included: $('#drop').load('content.html #target'); Note that when "A" is clicked to load the content, embedded Javascript runs and an alert is shown. When "B" is clicked, the alert is not shown.