The download is free, but we offer some paid services. Support us by subscribing
Delete ads and speed up browsing the library.
The download starts with the click of a button without waiting for the book to be ready.
No limits for download times.
You can upload unlimited books in the library.
Enable readers to download your books without waiting.
Delete ads on the books that you publish.
No problems with download links for your uploaded books.
| Author: | Anas Hikmat Abu Hamid |
| Category: | Programming Languages [Edit] |
| Language: | Arabic |
| Pages: | 94 |
| Rank: | 58,639 No 1 most popular |
| Short link: | Copy |
| More books like this book | |
يتناول هذا العمل تفاعل لغة جافا سكريبت مع المتصفح من خلال محورين أساسيين هما نموذج كائن المستند (DOM) ونموذج كائن المتصفح (BOM). يفصل الكتاب في معايير المنظمة العالمية لاعتماد معايير الويب (W3C) للتعامل مع عناصر HTML، موضحاً الفرق بين الدالة (Method) كإجراء للوصول للعنصر، والخاصية (Property) كقيمة يمكن تعديلها مثل innerHTML، مع استعراض طرق البحث عن العناصر باستخدام getElementById وquerySelectorAll.
يستعرض الكتاب آليات التحكم في بنية الصفحة عبر دوال إنشاء العناصر createElement وحذفها removeChild، بالإضافة إلى شرح نظام الأحداث (Events) مثل onclick وonkeydown. ويتوسع في شرح مستمع الأحداث addEventListener ومفهومي انتشار الأحداث عبر الفقاقيع (Bubbling) والالتقاط (Capturing)، مع توضيح كيفية التحكم في هذه العمليات باستخدام stopPropagation وpreventDefault.
يخصص الكتاب جزءاً لنماذج كائن المتصفح (BOM) التي تتبع كائن النافذة (Window Object)، بما في ذلك النوافذ المنبثقة مثل alert وprompt، وأدوات التوقيت setInterval وsetTimeout. كما يتطرق إلى كائنات screen لجلب أبعاد الشاشة، وlocation للتعامل مع روابط URL، وhistory لإدارة سجل المتصفح، وصولاً إلى شرح ملفات تعريف الارتباط (Cookies) وكيفية إدارتها برمجياً عبر دوال مخصصة مثل setCookie وgetCookie.
Be the first one to Rate, Review and Quote from the book
E-books are complementary and supportive of paper books and never cancel it. With the click of a button, the e-book reaches anyone, anywhere in the world.
E-books may weaken your eyesight due to the glare of the screen. Support the book publisher by purchasing his original paper book. If you can access it and get it, do not hesitate to buy it.
Publish your book now for free
We require cookies for this site to function. Please enable them to continue.
نحن نظهر لك هذه الرسالة لأننا نحترم خصوصيتك.
By using this website, you consent to us collecting cookies to provide you with a better user experience,
more details.
You cannot browse the site since you refused the use of cookies, as the site relies primarily on them to work.
Intellectual property is reserved for the authors mentioned on the books and the library is not responsible for the ideas of the authors
Old and forgotten books that have become past to preserve Arab and Islamic heritage are published,
and books that their authors are accepted to published.
The Universal Declaration of Human Rights states: "Everyone has the right freely to participate in the cultural life of the community, to enjoy the arts and to share in scientific advancement and its benefits.Everyone has the right to the protection of the moral and material interests resulting from any scientific, literary or artistic production of which he is the author".