Posts

Showing posts from November, 2021

Learn JQuery Selectors

Image
  Understanding jQuery Selectors jQuery Home In this tutorial, you will learn, how to use various types of selectors in jQuery.  What is Selector? Selector  selects one or more HTML elements using jQuery. Once an element is selected, then we can perform various operations on that selected element. jQuery Syntax The purpose of  jQuery syntax is for selecting HTML elements and performing some action on the element(s).   Basic syntax is:  $( selector ) . action() example: $( "p" ) . hide()   $ sign to invoke jQuery   ( selector ) to "query (or find)" HTML elements/Tag name   action()  jQuery action to be performed on the element(s)   The jQuery element selector selects elements based on the element name, and performs specified action on it.  In the above example $() is a jQuery function, takes HTML element p as a parameter which is known as a selector, and  hide ()  function  hides  the  p sele

jQuery coding tutorial

Image
 Complete jQuery Tutorials for Beginners     Selector     Events      Effects     Plugins    jQuery Introduction   Table of Contents Overview : What you should know? What you need ? How to Begin? How to Install Overview: jQuery is a JavaScript library. It is a  framework.  This library provides you inbuilt functions which are  developed using JavaScript. jQuery allows you to add various features to  your web pages.  You can add  slideshows, galleries, widgets and many more to your website. jQuery enhances the user experience of the site. jQuery is an open source library. To use it, you don't need to buy it. There are  tons of jQuery plugins available online at free of cost. You can integrate them to your website and  extend the website functionality. This is not only increase performance of the website, but also makes it ease of use.   There are different types o

Uploading Multiple Files in PHP

Image
      How to Upload multiple files and store in a folder and array       Sometimes we need to upload more than one file at a time. This  tutorial helps  you how to upload many files and store them in  a folder and get their names stored in the PHP array. In this example,  there are two files. Create a folder in the server and copy the files given  below. Open index.php and check the result.   index.php upload.php    index.php : Contains front-end code(form for uploading files) and allows user to upload more than one file at a time. User selects multiple files, and clicks on submit button.   upload.php: will receives the files and stores them in a folder and also in an array. Next, using for loop, it prints the names of the uploaded files and the preview of the images. Folder structure:       index.php <!DOCTYPE html> <html lang= "en" > <head> <title> Bootstrap Exa