Response title
This is preview!
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script>
$(document).ready(function() {
$.getJSON('http://mydomain.tumblr.com/api/read/json?callback=?', function(result) {
window.location.href = result.posts[0].url;
});
});
</script>
<head>
tag, which I'm guessing has something to do with $(document).ready
. Then when it does redirect it starts refreshing every few seconds. Thanks for any help! <script>
$.getJSON('http://mydomain.tumblr.com/api/read/json?callback=?', function(result) {
window.location.href = result.posts[0].url;
});
</script>
© 2013 jQuery Foundation
Sponsored by and others.