window location href and location reload() both redirects a page to a new page but there are some difference to follow. Here is the difference between window.location.href and location.reload: window.location.href is not a method. It is a property which will tell you the current URL location of the browser. Changing the value of the property […]
Search: “data”
We found 1,473 results for your search.
jQuery get() Method
jQuery get() method sends an HTTP GET request to a page load data from the server back. If any request with jQuery.get() method returns an error code then it will fail without notification unless the script has also called the global .ajaxError() method. In other side, as of jQuery 1.5, the .error() method of the […]
jQuery one() Method
The jQuery one() Method attached a handler for the selected elements and executed at most once per element per event type. Using one() method, the event handler is only run ONCE for each element. Possible event values are: blur, load, focus, resize, unload, scroll, click etc. Syntax: This is the simple syntax for using this […]
Trying to select data from a MySQL table, but getting the error messages: mysql_fetch_array() expects parameter 1 to be resource, boolean given? – This may happen for various reasons like both the mysql_* and the mysqli extension will return false from their query functions. – Using a die() you can get a little to much. […]
jQuery serializeArray() creates an array of objects i.e. name and value pair by serializing one or more form elements or the form element itself. jQuery serializeArray() method can act on a jQuery object which has selected individual form controls like <input>, <textarea>, and <select> etc. Suppose, you have a following HTML: <form action=””> Name: <input […]
CakePHP is a free, open-source, rapid development framework for PHP. It’s a foundational structure for programmers to create web applications. There is number of in built component like Ajax, RequestHandler, Session etc. Question: What are the drawbacks of cakephp? Answer : The learning curve, and it loads full application before it starts your task. Its […]
jQuery Cookie (Set, Get and Delete)
Cookies are the most important thing or technology for storing data on the client side environment. jQuery Cookie is a simple, lightweight plugin for writing, reading and deleting cookies from client side. At first you need to download jquery.cookie plugin and simply need to add it in your pages. <head> <script src=”js/jquery.js”></script> <script src=”js/jquery.cookie.js”></script> </head> […]
Image sprite is a collection of images put into a single image depends on particular position of a image. Basically CSS sprites are used for faster loading of your site. Read our previous article about CSS Image Sprites. There are few online CSS Sprite generator tool which is very handy to create sprites quickly. 1) […]
DoFollow & Nofollow Link
In search engine optimization the noindex, robots, dofollow & nofollow are the common words to increase your page traffic and very important also. Basically, search engines like Google, Bing and any others have their own algorithms to scan the webpages across the websites on internet and such crawled web pages are stored in the data […]
Want to add PHP code in your WordPress widget? Here are two WordPress plugin by which you can add PHP code in sidebar widget. Developer can easily do this functionality without any widget but for a non-programmer this may be quite difficult task. Sometimes it is necessary to run a PHP code in the sidebar […]