Advertisement
Guest User

Untitled

a guest
Aug 21st, 2014
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. <button id="btn-click">Click me</button>
  2. <div id="placeholder"></div>
  3.  
  4. $("#btn-click").click( function () {
  5. $("#placeholder").load("dynamicContent.html #new-content", function () {
  6. $("#new-content").css( "color", "red");
  7. });
  8. });
  9.  
  10. <p>just some text for now.</p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement