Testing jQuery


Chapter 8: Editing the Calendar with AJAX and jQuery .......................................263



Download 8,12 Mb.
Pdf ko'rish
bet13/201
Sana29.12.2021
Hajmi8,12 Mb.
#81984
1   ...   9   10   11   12   13   14   15   16   ...   201
Bog'liq
Pro PHP And Jquery

Chapter 8: Editing the Calendar with AJAX and jQuery .......................................263 
Opening the Event Creation Form ..................................................................................263 
Adding an AJAX Call to Load the Form ................................................................................................. 264 
Modifying the AJAX Processing File to Load the Form......................................................................... 265 
Making the Cancel Button Behave Like the Close Button..................................................................... 268 
Saving New Events in the Database ..............................................................................269 
Modifying the AJAX Processing File to Handle New Submissions ....................................................... 271 
Adding Events Without Refreshing ................................................................................273 
Deserializing the Form Data ................................................................................................................. 274 
Creating Date Objects........................................................................................................................... 279 
Appending the Event to the Calendar ................................................................................................... 283 
Getting the New Event’s ID................................................................................................................... 286 
Editing Events in a Modal Window.................................................................................290 
Determining the Form Action................................................................................................................ 291 
Storing the Event ID if One Exists ......................................................................................................... 292 
Remove Event Data from the Modal Window ....................................................................................... 294 
Ensuring Only New Events Are Added to the Calendar......................................................................... 296 
Confirming Deletion in a Modal Window........................................................................298 
Displaying the Confirmation Dialog ...................................................................................................... 298 
Configuring the Form Submission Event Handler for Deletion ............................................................. 301 
Remove the Event from the Calendar After Deletion ............................................................................ 304 
Summary .......................................................................................................................307 


Download 8,12 Mb.

Do'stlaringiz bilan baham:
1   ...   9   10   11   12   13   14   15   16   ...   201




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish