diff options
Diffstat (limited to 'files/ru/glossary/jquery/index.html')
-rw-r--r-- | files/ru/glossary/jquery/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ru/glossary/jquery/index.html b/files/ru/glossary/jquery/index.html index 5703bcb19c..bf56ff7cbc 100644 --- a/files/ru/glossary/jquery/index.html +++ b/files/ru/glossary/jquery/index.html @@ -8,14 +8,14 @@ original_slug: Глоссарий/jQuery <p>jQuery синтаксис использования <code>$(selector).action()</code> позволяет выбранному селектору совершить действие.Пример:</p> -<pre class="notranslate">$(document).ready(function(){ +<pre>$(document).ready(function(){ alert("Hello World!"); }); </pre> <p>JQuery имеет аналогичный эффект, что и следующий код JavaScript:</p> -<pre class="brush: js notranslate">window.onload = function() { +<pre class="brush: js">window.onload = function() { alert( "Hello World!" ); }; </pre> |