? ?? JavaScript? ???? ??? ???? ??? ??? ??? ? ???? ? ?? ???? ???? ??? ???? ?? ??? ???. ???? ??? ??? ???? ??? ?? ? DOM ??? ???? ??? ???? ?????? ???? ??? ???? ???? ???? ???? ?? ?? ??? ????? ????. ??? ???? HTML ??? ???? ?? ???? ?????.
????? ???????? ???? ?? ??? ???? ??? ??? ???? ?? ??? ????. ???? ??? ???? ?? ??? ?? ?? JavaScript ??? ? ?? ???? ????? ????. ?? ????? ??? ? ?? ??? ???? ?? ??? ???? ???? ?? ?????. ? ????? ? ??? ???? ?? ????? ??? ??? ???? ?????.
?? ??
?? ????? querySelectorAll? ???? ?? ??? ????? ??? ??? ??? ?????. ?? ??? ??? ????.
- ??? ??: ??? ??? ??? ??(?: .pqt-plus1)? ???? ???? ? ?? ??? ?????.
- ?? ??: ???? ??? ??? ????? ?? ????? ???? ?? ??? ?????.
???: ??? ?? ? DOM ??
?? ??? ???? ??? ??? DOM ??? ???? ????. ? ?? ??? ???? ? ??? ??? ???? ??? ??? ???? ??? ?? ?? ???? ?????.
HTML ?? ???:
??, ???? ??? HTML ??? ????? ???. ??? ???? ?? ???? ???? ?? ??? ??? ??????. ??? ???? ?? ???? ?? ???? ?? data ??? ?????. ??? HTML ??? div? ?? ???? ?? ? ?? ??? ???????.
<div class="d-flex align-items-center pls-moins"> <span class="count-number float-right"> <button type="button" class="btn-sm ?? 12? btn btn-outline-secondary pqt-minus" data-inc="-1"> <i class="feather-minus"></i> - ??> <span class="????"> <span class="??">0</span> </span> <button type="button" class="btn-sm right inc btn btn-outline-secondary pqt-plus" data-inc="1"> <i class="feather-plus"></i> ??> </button></button></span> </div> <div class="d-flex align-items-center pls-moins"> <span class="count-number float-right"> <button type="button" class="btn-sm ?? 12? btn btn-outline-secondary pqt-minus" data-inc="-1"> <i class="feather-minus"></i> - ??> <span class="????"> <span class="??">0</span> </span> <button type="button" class="btn-sm right inc btn btn-outline-secondary pqt-plus" data-inc="1"> <i class="feather-plus"></i> ??> </button></button></span> </div> <div class="d-flex align-items-center pls-moins"> <span class="count-number float-right"> <button type="button" class="btn-sm ?? 12? btn btn-outline-secondary pqt-minus" data-inc="-1"> <i class="feather-minus"></i> - ??> <span class="????"> <span class="??">0</span> </span> <button type="button" class="btn-sm right inc btn btn-outline-secondary pqt-plus" data-inc="1"> <i class="feather-plus"></i> ??> </button></button></span> </div> <div class="d-flex align-items-center pls-moins"> <span class="count-number float-right"> <button type="button" class="btn-sm ?? 12? btn btn-outline-secondary pqt-minus" data-inc="-1"> <i class="feather-minus"></i> - ??> <span class="????"> <span class="??">0</span> </span> <button type="button" class="btn-sm right inc btn btn-outline-secondary pqt-plus" data-inc="1"> <i class="feather-plus"></i> ??> </button></button></span> </div>
?????? ??:
document.querySelectorAll(".btn-sm").forEach(btn => { btn.addEventListener('??', e => { let total = e.target.closest('.pls-moins').querySelector('.add'); total.textContent = Math.max(0,parseInt(total.textContent, 10)parseInt(e.currentTarget.dataset.inc, 10)); }); });
?? ??:
- document.querySelectorAll(".btn-sm").forEach(btn => { ... }); : ??? ??? .btn-sm? ??? ?? ???? ? ??? ??? ???? ?????.
- e.target.closest('.pls-moins') : e.target? ???? ???? ?????(?: ??? ??). ?? ???('.pls-moins') ???? .pls-moins? ?? ??? ?? ???? ?????.
- .querySelector('.add') : ??? .pls-moins ?? ??? ??? ???? ??? ??? . added? ??? ????.
- parseInt(total.textContent, 10) : ??? ???? ?? ??? ?????. 10? ???? ?????.
- parseInt(e.currentTarget.dataset.inc, 10) : ??? ??? data-inc ?? ?? ???? ??? ?????. e.currentTarget? ??? ???? ???? ??(?: ??)? ?????.
- Math.max(0, ...) : ??? 0?? ?? ??? ?????.
??
??? ?? ? DOM ??? ???? ?? ??? ???? ?? ?? ???? ?? ??? ?? JavaScript ??? ??? ? ????. ? ?? ??? ??? ?? ????? ?? ?? ??? ?? ? ??? ? ?? ????. ? ???? ????? ??? HTML ??? ???? ?? ?????. ??? ??? ??? ??? ???? ?? ?? ??? ??? ??? ??? ???? ?? ??? ?????. ????? HTML ??? ???? ?????.
? ??? ? ?? ???? ???? JavaScript ???? ?? ?? ? ?? ??? ?? ???? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Stock Market GPT
? ??? ??? ?? AI ?? ?? ??

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

? ????? CSS? ???? HTML ???? ?? ??? ??? ???? ??? ??? ?? ??? ?????. ?? ???? ?? ??? ?? CSS ???? ???? ?????? ???? ??? ????. ??, ???? ??? ??? ??? ??? ???? ??? ?? ? ?? ??? ??? ???? ? ??? ??? ??? ? ? ????.

? ??? ??? ??? iframes? ???? ?? div?? ??? ? ???? ???? ??? ?????. ?? ??? ???? ?? ?? (??? ??? ??)? ??? ??? iframe ????? ?? DOM ???? ?? ???? ????. iframe ?? ??? ??? ???? CORS? ???? ?? ? ??? ??? ??? ??? ?? ? ? ????. ? ??? ??? ?? ????? ??? ???? ??? ?? ??? ?? ??? ???? ??? ??? ?????.

? ??? ????? ?? ???? ???? ?? ???? ?? ????? ???? ??? ?? ??? ???? ?? ??? ?????. ? ???? ???? ???? ???? ???? ??? ???? ???? ?????. Flex ????? Flex ?? ??? ???? ???? Bootstrap? Flex-Column Tool ???? ???? H1 ??? ??? ?? ?? ? ??? ?? ??? ??? ???? ??? ??? ??? ?????.

usecssfloatpropertytowraptaroundanimage : floatleftfortextontheright, floatrightfortextontheleft, addmarginforspacing ? clearfloattopreventlayoutissues.

setthelangattributeinthehtmltagtospecypagelanguage, ?? ??, forenglish; 2.useocodes "es"forspanishor "fr"forfrench; 3. includeregionalvariantswithcodeslite "en-us"?? "zh-cn"; 4. ApplylangtespecificelementmelementmelementeMelemente

? ??? HTML?? ?? JavaScript ??? ?? ? ? ? ?? ???? ??? ?????. ???? ?????? ???? ?? DOM ??? ???? ??? ?? ?? ??? ???? ?? ??? ?? ???? ?? ? ? ????. ? ??? ???? ?? ??? ???? JavaScript ??? ???? ??????? ?? ??? ?? ?? ?? ??? ??? ??? ???? ?????.

USETHETITLEATTRIBITFORSIMPLETOOLTIPSORCSSFORCUSTOM-StyledOnes.1.AddTitle = "Text"TOANYELENMENTFORDEFAULTTOOLTIPS.2. FORSTYLEDTOOLTIPS, WRAPTHEELEMENTINICONTAINER, ?? .TOOLTIPAND.TOOLTIPAND.TOOLTIPTEXTCLASSSSSSPOTIVICIONITINITINING, PSEUDOINUTE, ? VSEUDOINGIONC

UseMailto : inhreftocreateemaillinks.startwithbasiclinks, add? subject = ? & body = forpre-filledcontent, andincludemultipleaddressesorcc =, bcc = foradvancedoptions.
