If tutorials available on this website are helpful for you, please whitelist this website in your ad blocker😭 or Donate to help us ❤️ pay for the web hosting to keep the website running.
AJAX , Asynchronous JavaScript And XML की Short Form है। AJAX एक ऐसी technique / method है जिसके through page को बिना reload / refresh किये server से communicate कर सकते है, या कह सकते हैं कि किसी भी तरह का server side operation (जैसे Database में Records को fetch करना etc..) perform कर सकते हैं।
Core JavaScript में request send करने के लिए हमें XMLHttpRequest का Object बनाना पड़ता था , और उसके बाद Headers को set करना होता था।
? Core JavaScript में AJAX Request send करना थोड़ा सा complex रहता है , because different - different browser के लिए AJAX Code different रहता है , लेकिन jQuery में predefined functions ये problem resolve करते हैं , जिससे की सभी Browsers के लिए same line of code लिख सकते हैं।
चूंकि jQuery , JavaScript की library है , जिसमे AJAX Request send करने के लिए कुछ predefined methods provide किया हैं। जिनकी help से आप कम समय में और सिर्फ कुछ lines of code लिखकर AJAX Request send कर सकते हैं।
इन methods की help से हम GET / POST दोनों तरह की request easily send कर सकते हैं।
Hi ! I'm Rahul Kumar Rajput founder of learnhindituts.com. I'm a software developer having more than 4 years of experience. I love to talk about programming as well as writing technical tutorials and blogs that can help to others. I'm here to help you navigate the coding cosmos and turn your ideas into reality, keep coding, keep learning :)
Get connected with me. :) LinkedIn Twitter Instagram Facebook