The dialog section of JQ.Zemplate will focus on the discussion of jQuery topics that may address certain issues with coding, better approaches for coding, clever applications of jQuery, and so forth.

Below is a list of articles that you may find enlightening or may help you with a specific problem that you have had with your own jQuery project.

When developing or maintaining a website there may be some features that only you want to see. An example could be a small box in the top right corner that tells you the screen width, which can be very useful when developing a responsive website. You may also want to block a person from a specific IP address from viewing your site.

There is a simple line of JSON code that you can add to a .js file that your site uses. This code will retrieve the IP Address of the user.

If you have a situation with your jQuery script where you do not want something to happen until something else is finished, you can employ a callback function.

As JavaScript runs it will iterate through the code line by line. There will be situations where the following line of code will come into play before the previous effect has completed. This can cause errors and it can ruin the intended progression of your program.

When you are debugging your JavaScript and jQuery code, you often wonder if the script is really getting to the function or is retrieving the correct value for a variable. You may find yourself sticking an alert(); in as follows:

alert("Hello, I got to here");

The alert(); in your code at specific locations allows you to see if a specific function is being called or if the code is progressing past a certain point. You may also may want to see if the variable is receiving the right information with something like this:

alert("callInfoBox: " + callInfoBox);

One of the most important aspects of JavaScript and jQuery, is a good understanding of global variables and local variables.

Variables are containers that hold a value. You use variables for many different things throughout your script. You may need them for values that change throughout the script or you may just need them for a short term.

JavaScript and jQuery are unforgiving when there are mistakes in the code. Simple mistakes with the syntax or punctuation will stop the code from running at all. Coding needs to be precise and follow the rules.

If your code has come to a dead stop, the first thing to look at are mistakes with the punctuation.

When you want to use jQuery on your web site, you must allow the browser to access the jQuery core file. Depending on what all you are using as far as jQuery, you may also need the files for jQuery UI functions and or jQuery UI style sheets.

The question is whether it is best to download these file to your own hosting server and link to these locally sourced files or whether to link to external sites such as Google's Hosted Libraries. There are pros and cons to each way of linking to these jQuery files.

In this article we will discuss the PROS and CONS of linking to your locally sourced jQuery files or linking to an external source.