$("#iframe").contents()
// search tag
.find('#myTag')
// update attr
.attr({
'data-attr': 'namespace',
'id': 'newId',
})
// update css
.css({
'background-color' :'#333'
})
// update Class
.addClass('show').removeClass('hide').toggleClass('active')
;
<?php
$contentData = file_get_contents( 'highscore.txt' );
print($contentData);
?>
var documentInput = $('.input');
documentInput .load('highscore.txt',{ /* data params */},
function(){alert("content complete")}
);
var client = new XMLHttpRequest();
client.open('GET', 'highscore.txt');
client.onreadystatechange = function() {
alert(client.responseText);
}
client.send();
def file_get_contents(filename)
@media