What is Firebug

Firebug was a plugin which can be installed in Firefox in early days. It making HTML debugging quite easy. As of Firefox 48, it's combined in Firefox Dev tool. For using Firefox Dev tool you can simply press F12 and you are ready to go. In case you are interested in see Firebug, You can visit the official website https://getfirebug.com/…

How to send HTTP Request in jQuery.

Using jQuery is pretty easy. There is many way you can send HTTP request. There are 3 main method that you can use to send Ajax Request in jQuery. $.get("",{},function(){}); $.post("",{},function(){}); $.ajax({ url: "blahblah", type: 'GET', dataType: 'json', // added data type success: function(res) { console.log(res); alert(res); }…

what is Chrome dev tool

Chrome dev tool is a tool come with Chrome. Like Firebug For get started with Chrome Dev tool, open a website for example dev91.com and press F12 Here is a tool In element tool, you can play with With HTML kind of things. In console you can run JavaScript on same page. In source you can put your breakpoints. The execution of code stop at …

what is callback in JavaScript

JavaScript is asynchronous. It's means if you send HTTP request and on next line you execute something, it will not wait for the HTTP Response. For make this thing work, there is a strategy in JavaScript that is called Callback. $.get("demo_test.asp", function(data, status){ // This code will execute after response received. }); This is how…