'Added example web page with jQuery'
This commit is contained in:
parent
dca8c79a23
commit
5dcc9edfad
@ -1,4 +1,4 @@
|
|||||||
Parse eurojackpot web page for the numbers of the last results using jQuery.
|
Parse eurojackpot web page for the numbers of the last results using jQuery (https://www.lotto.pl/eurojackpot/wyniki-i-wygrane).
|
||||||
|
|
||||||
Write jQuery parser for the entries on arxiv (title, authors, abstract, journal, submission date) for any given paper, e.g. https://arxiv.org/abs/2403.13859
|
Write jQuery parser for the entries on arxiv (title, authors, abstract, journal, submission date) for any given paper, e.g. https://arxiv.org/abs/2403.13859
|
||||||
|
|
||||||
|
29
05_html_jQuery/web1.html
Normal file
29
05_html_jQuery/web1.html
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<script src="//code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<article>
|
||||||
|
<header>
|
||||||
|
<h1>A heading here</h1>
|
||||||
|
<p class="abc">Posted by John Doe</p>
|
||||||
|
<p>Some additional information here</p>
|
||||||
|
</header>
|
||||||
|
|
||||||
|
<h1 id="id1">A heading here 222</h1>
|
||||||
|
<h1>A heading here 333</h1>
|
||||||
|
<p>Lorem Ipsum dolor set amet....</p>
|
||||||
|
</article>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
jQuery(document).ready(function($){
|
||||||
|
console.log('jQuery document loaded');
|
||||||
|
alert($('#id1').html('abababa'));
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user