<!DOCTYPE html> <html lang="pl" oncontextmenu="return false"> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <link rel="stylesheet" href="styles.css" type="text/css" media="all"> <link href="http://fonts.googleapis.com/css?family=Berkshire+Swash&subset=latin,latin-ext" rel="stylesheet" type="text/css"> <link href="http://fonts.googleapis.com/css?family=Advent+Pro&subset=latin,latin-ext" rel="stylesheet" type="text/css"> <link href="http://fonts.googleapis.com/css?family=News+Cycle&subset=latin,latin-ext" rel="stylesheet" type="text/css"> </head> <body> <script type="text/javascript"> setInterval("moja_funkcja();",1000); function moja_funkcja(){ $(\'#odswiez_1\').load(location.href + \' #odswiez_2\'); } </script> <div class="hp_pos" style="font-size:18px;"> <center> <div class="top_info" style="margin: 0 auto;"> <div id="odswiez_1"> <div id="odswiez_2"> </div> </div> </div> </div> </center> </body> </html>
Ktoś może wie, dlaczego mi to nie działa? :/