jquery.load remote url via data attribute

1
2
<div class="loadContent" data-joburl="pageurl.php">Click</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This snippet loads content from a remote URL inside of a class named "load-data", into a div called "content", using an attribute value called "joburl"

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.