Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <button id="btn-click">Click me</button>
- <div id="placeholder"></div>
- $("#btn-click").click( function () {
- $("#placeholder").load("dynamicContent.html #new-content", function () {
- $("#new-content").css( "color", "red");
- });
- });
- <p>just some text for now.</p>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement