From dc92bc363d361a424918620fe9a6b61dd25cd90c Mon Sep 17 00:00:00 2001 From: Arkadiusz Hypki <arkadiusz@hypki.net> Date: Mon, 10 Mar 2025 13:09:26 +0100 Subject: [PATCH] 'Fixed jQ src url;' --- 03_Declarative_EventDriven/web1.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/03_Declarative_EventDriven/web1.html b/03_Declarative_EventDriven/web1.html index 615d4f2..301c3d6 100644 --- a/03_Declarative_EventDriven/web1.html +++ b/03_Declarative_EventDriven/web1.html @@ -1,6 +1,6 @@ <html> <head> - <script src="//code.jquery.com/jquery-latest.min.js" type="text/javascript"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" type="text/javascript"></script> </head> <body> @@ -22,7 +22,7 @@ <script type="text/javascript"> jQuery(document).ready(function($){ console.log('jQuery document loaded'); - alert($('#id1').html('abababa')); + alert($('#id1').html()); }); </script>