jQuery Effect Methods The following table lists all the jQuery methods for creating animation effects. Method Description animate() Runs a custom animation on the selected elements clearQueue() Removes all remaining queued functions from the...
jQuery selectors are one of the most important parts of the jQuery library. jQuery Selectors jQuery selectors allow you to select and manipulate HTML element(s). jQuery selectors are used to “find” (or select) HTML...
In general the CSS Sticky Footer is the best way to go, as it works perfectly smoothly and doesn’t require JavaScript. If the markup required simply isn’t possible, this jQuery JavaScript might be an option. HTML...
The below code will give you the X, Y coordinates of a mouse click within a given box. Removing all the stuff about the offset, you can easily get the X, Y coordinates of...
Following are few very useful jQuery Tips and Tricks for all jQuery developers. I am sharing these as I think they will be very useful to you. Disclaimer: I have not written all of the...
Somewhere between a fifth to a third of the million students graduating out of India’s engineering colleges run the risk of being unemployed. Others will take jobs well below their technical qualifications in a market where...
Many people dream of shedding the corporate life and starting their own companies. They imagine creating the next Google or Apple . From Steve Jobs to Bill Gates to Pierre Omidyar, many of the world’s richest people on...
Consider the Pros and Cons of Working for Yourself The first big question you’ll need to answer is whether the benefits of being your own boss truly outweigh the disadvantages. Pros: The pros are pretty...
Many of my friends dream about starting their own business but they never do it. Here are 10 tips that might help you finally find your idea and get started. 1. Do nothing, go...
jQuery.data() is used to set/return arbitrary data to/from an element. Syntax: jQuery.data(element, key, value) “element” is the DOM element to which the data is associated. “key” is an arbitrary name of the piece of...
The animate function is used to apply the custom animation effect to elements. -Syntax: $(selector).animate({params}, [duration], [easing], [callback]) “param” defines the CSS properties on which you want to apply the animation. “duration” specify how...
Google Will Soon Launch Google Web Designer, A Free HTML5 Development Tool For Creating Web Apps, Sites And Ads Google will soon launch Google Web Designer, an HTML5 development tool for “creative professionals.” The service,...
How to store the uploaded file to the final location? move_uploaded_file ( string filename, string destination) This function checks to ensure that the file designated by filename is a valid upload file (meaning that...
How can I set a cron and how can I execute it in Unix, Linux, and windows? Cron is very simply a Linux module that allows you to run commands at predetermined times or...
How can increase the performance of MySQL select query? We can use LIMIT to stop MySql for further search in table after we have received our required no. of records, also we can use...
What is maximum size of a database in mysql? If the operating system or filesystem places a limit on the number of files in a directory, MySQL is bound by that constraint. The efficiency...
What is the use of friend function? Friend functions Sometimes a function is best shared among a number of different classes. Such functions can be declared either as member functions of one class or...
How to reset/destroy a cookie ? Reset a cookie by specifying expire time in the past: Example: setcookie(‘Test’,$i,time()-3600); // already expired time Reset a cookie by specifying its name only Example: setcookie(‘Test’); What types...
1. Name the cities of Pakistan where Electricity is found. 2. How does Sugar taste? Explain in your Own words. 3. Draw a Neat and Labeled Diagram of a Suicide Jacket. 4. In Ancient...
Who is the father of PHP and what is the current version of PHP and MYSQL? Rasmus Lerdorf. PHP 5.1. Beta MySQL 5.0 In how many ways we can retrieve data in the result...
How can we know that a session is started or not? A session starts by session_start() function. This session_start() is always declared in header portion. it always declares first. then we write session_register(). What...
Give the syntax of REVOKE commands? The generic syntax for revoke is as following REVOKE [rights] on [database] FROM [username@hostname] Now rights can be: a) ALL privileges b) Combination of CREATE, DROP, SELECT, INSERT,...
How can we destroy the session, how can we unset the variable of a session? session_unregister() – Unregister a global variable from the current session session_unset() – Free all session variables What are the...
How can we register the variables into a session? session_register($session_var); $_SESSION[‘var’] = ‘value’; What is the difference between characters \023 and \x23? The first one is octal 23, the second is hex 23. With...
Make a call to you friend and cut it in a fraction of seconds. Then, he will call you back, talk happy. Note: You must be alert to press on the call button, while...
This can be used for comments and other from of communication to tell the time ago instead of the exact time which might not be correct to some one in another time zone. The...