Automatic ajax call using jQuery

Total used files : index.php jquery.js random.php I am using jQuery’s setInterval() method to automatically make the ajax call in every 2 seconds. index.php In above code, the interesting code is in line 17, setInterval(callAjax,2000); which calls the callAjax function in every 2 seconds. Here 2000 is supplied in milliseconds. line 11 – sets the … Continue reading “Automatic ajax call using jQuery”

[jQuery] Retrieve the Value of Selection Box

Here is a simple jQuery tutorial to retrieve the content of the value of Selection Box. Screenshot of Selection Box Layout Here is the code snippet for the above screenshot. Create this folder structure, these all are placed in a same folder ► CSS [directory] →  style.css ►  JS [directory] → jquery.js → remote.js ► … Continue reading “[jQuery] Retrieve the Value of Selection Box”

[Solved] WordPress Visual Editor Not Working or Not Appearing

This might be due to the broken ftp upload. Well Mine was due to the broken ftp uploads due to slow internet connection. When I faced this problem I went for usual solutions like checking If Visual Editor is Enable or not ( Users → Authors & Users ) Looking for options to enable Visual … Continue reading “[Solved] WordPress Visual Editor Not Working or Not Appearing”

[How To] Custom Checkbox using jQuery

Here is how I managed to get the custom checkbox using jQuery. See the screenshot below The simple idea is to put class where we want to display checkbox. Here I have used two classes .clear and .checked. The name are very obvious. .clear holds the unchecked state of checkbox. .checked holds the checked state … Continue reading “[How To] Custom Checkbox using jQuery”