How to get value store in cookie in browser by use simply jQuery

Get Value store Cookie into Chrome or other Web Browser with JQuery Easily. Below the code, describe how to store a specified cookie value into a variable and use it for further use. Cookie ‘_ga’ store in web browsers such as Chrome or Firefox, with using the jQuery get the value of cookie and store […]

How to add bootstrap CSS and JQuery after page load

Add Bootstrap library files after window load Need to load jQuery and CSS bootstrap file after load page for optimize page speed and reduce the load time of page add both files after page open in the window. After loading files in the window will helps to reduce the loading time and increase page speed […]

How to get cookie value when $.cookie error come in console

How to solve error comes when trying to use cookie value store in the browser.   when trying to use a cookie value which stores in the browser by javascript and error come in browser console $.cookie is not define, so add jquery cookie library in HTML code. The library is mention below.   Include […]

Upload multiple files with Ajax and Move to upload by PHP with create different folder

Below the code, explain that upload multiples files by jQuery Ajax and move files using Form Data to created different folders by PHP  move_uploaded_file function. Created multiple folders by time function and create random numbers for the rand function. HTML code for creating form input file and button to upload files. HTML Code : <div […]

Change ::before ::after Pseudo Element content using in div by jQuery

How to manipulate and change the content of selected DIV by jQuery.   Manipulating and change the content of DIV, SPAN by used CSS pseudo-element ::before and ::after. Passed content to pseudo element with data attributes and use jQuery to change and manipulate.   HTML Code <body> <div id=”uploadFile”> <div class=”uplidFileContent” data-before=”Pseudo Before Content Click […]

Get Previous URL or Browsered Visited Page URL by JavaScript

How to get the previous URL by using javascript.  For the below code, I store the previous pages URL into a variable and console them. I store the history pages URL into the local storage variable.   <script type=”text/javascript”> var getBrowswerHistory = history.length; var getLastLocation = []; var getLocationPath = location.href; getLastLocation.push(getLocationPath); var broswerHistoryArray = […]

JSON What It is, Why Use it, Data Types & Methods

What is JSON? JSON stands for JavaScript Object Notation is an open stand file format for sharing data. Web developers easily write and understand the JSON file data. It helps exchange data between the browser(client) and server, that time JSON data must be in text based on key-value pairs. It use the .json extension when […]

Get Latitude and Longitude Coods By jQuery and HTML 5 Geo-location API

Get Current Latitude and Longitude Coods By jQuery and HTML5 Geolocation API. HTML5 Geolocation is used to get the geographical position of the user. When you get the visitor Latitude and Longitude, you can easily get the visitor country, state, city, and ZIP by Google Map. Below the code for getting website user coords of […]

Upload Image By Ajax Using jQuery FormData Without Submit Form

Image Upload By JQuery Ajax and PHP File uploading by jQuery Ajax,  PHP, and  HTML it’s a common feature for the dynamic application but sometimes when form submitted page got refresh after clicked submitted button. But if don’t need to refresh the page use jQuery and Ajax for sending form-data to PHP File.  In this […]

Put Multiple Properties of CSS in jQuery

Put Multiple Properties of CSS in jQuery jQuery(‘container’).children().css({‘color’:’pink’, ‘background-color’:’blue’, ‘font-family’:’arial’, ‘font-size’:’20px’}); Rajvinder SinghLive in Delhi, Working in Gurgaon as Web Designer and Graphic Designer. Developed and Design myfreeonlinetools for online free tools. Also having youtube channel Name with LearnSchoolOnline. Traveling, watching movies, coding are the hobbies.