SlideShare a Scribd company logo
1 of 1
Download to read offline
Using java script for an html page how do you add a name to a location storage then it is
automatically added to a table on the webpage
Solution
Answer:
There are 2 methods for storing data : -
1) localStorage ,
2) sessionStorage
if we want the data to be stored forever then use localStorage if not then use sessionStorage .
Example :
localStorage.name = "elixir black"

More Related Content

More from arihantgiftgallery

A variety of media and culture conditions can be used to culture and .pdf
A variety of media and culture conditions can be used to culture and .pdfA variety of media and culture conditions can be used to culture and .pdf
A variety of media and culture conditions can be used to culture and .pdfarihantgiftgallery
 
A program consists of 4 musical numbers and 3 speeches. In how many .pdf
A program consists of 4 musical numbers and 3 speeches. In how many .pdfA program consists of 4 musical numbers and 3 speeches. In how many .pdf
A program consists of 4 musical numbers and 3 speeches. In how many .pdfarihantgiftgallery
 
A Moving to another question will save this response. Question 4 Iden.pdf
A Moving to another question will save this response. Question 4 Iden.pdfA Moving to another question will save this response. Question 4 Iden.pdf
A Moving to another question will save this response. Question 4 Iden.pdfarihantgiftgallery
 
A plant with a very extensive root system would be able to better abs.pdf
A plant with a very extensive root system would be able to better abs.pdfA plant with a very extensive root system would be able to better abs.pdf
A plant with a very extensive root system would be able to better abs.pdfarihantgiftgallery
 
property, plant, and equipment are categorized as property, pla.pdf
property, plant, and equipment are categorized as property, pla.pdfproperty, plant, and equipment are categorized as property, pla.pdf
property, plant, and equipment are categorized as property, pla.pdfarihantgiftgallery
 
Write a program in Matlab using Newtons method to solve this syste.pdf
Write a program in Matlab using Newtons method to solve this syste.pdfWrite a program in Matlab using Newtons method to solve this syste.pdf
Write a program in Matlab using Newtons method to solve this syste.pdfarihantgiftgallery
 
Why is it that bacterial ribosomes can begin translation before mRNA.pdf
Why is it that bacterial ribosomes can begin translation before mRNA.pdfWhy is it that bacterial ribosomes can begin translation before mRNA.pdf
Why is it that bacterial ribosomes can begin translation before mRNA.pdfarihantgiftgallery
 
Write a C++ program with a function defined to give the person a .pdf
Write a C++ program with a function defined to give the person a .pdfWrite a C++ program with a function defined to give the person a .pdf
Write a C++ program with a function defined to give the person a .pdfarihantgiftgallery
 
Which standards organization defined the Ethernet standardA.IEEE.pdf
Which standards organization defined the Ethernet standardA.IEEE.pdfWhich standards organization defined the Ethernet standardA.IEEE.pdf
Which standards organization defined the Ethernet standardA.IEEE.pdfarihantgiftgallery
 
When the pH of a solution changes from 2 to 6 a) That solution beco.pdf
When the pH of a solution changes from 2 to 6 a) That solution beco.pdfWhen the pH of a solution changes from 2 to 6 a) That solution beco.pdf
When the pH of a solution changes from 2 to 6 a) That solution beco.pdfarihantgiftgallery
 
Which is the correct answer Consider the characteristics of moss an.pdf
Which is the correct answer Consider the characteristics of moss an.pdfWhich is the correct answer Consider the characteristics of moss an.pdf
Which is the correct answer Consider the characteristics of moss an.pdfarihantgiftgallery
 
Unequal crossing over is responsible for creating paracentric inversi.pdf
Unequal crossing over is responsible for creating paracentric inversi.pdfUnequal crossing over is responsible for creating paracentric inversi.pdf
Unequal crossing over is responsible for creating paracentric inversi.pdfarihantgiftgallery
 
True False When the null hypothesis is not rejected, there is no p.pdf
True False When the null hypothesis is not rejected, there is no p.pdfTrue False When the null hypothesis is not rejected, there is no p.pdf
True False When the null hypothesis is not rejected, there is no p.pdfarihantgiftgallery
 
Thesus the rat is in a labyrinth. Initially, he is in a chamber with.pdf
Thesus the rat is in a labyrinth. Initially, he is in a chamber with.pdfThesus the rat is in a labyrinth. Initially, he is in a chamber with.pdf
Thesus the rat is in a labyrinth. Initially, he is in a chamber with.pdfarihantgiftgallery
 
summarizing the case #3 on facebook freedom of speech and giving add.pdf
summarizing the case #3 on facebook freedom of speech and giving add.pdfsummarizing the case #3 on facebook freedom of speech and giving add.pdf
summarizing the case #3 on facebook freedom of speech and giving add.pdfarihantgiftgallery
 
So Far I have these two classes but I need help with my persontest c.pdf
So Far I have these two classes but I need help with my persontest c.pdfSo Far I have these two classes but I need help with my persontest c.pdf
So Far I have these two classes but I need help with my persontest c.pdfarihantgiftgallery
 
Shock Case Study (15 pts)HPI. Mrs. K is a 22 yo college student, .pdf
Shock Case Study (15 pts)HPI. Mrs. K is a 22 yo college student, .pdfShock Case Study (15 pts)HPI. Mrs. K is a 22 yo college student, .pdf
Shock Case Study (15 pts)HPI. Mrs. K is a 22 yo college student, .pdfarihantgiftgallery
 
results obtained for the different tests and the characteristics of .pdf
results obtained for the different tests and the characteristics of .pdfresults obtained for the different tests and the characteristics of .pdf
results obtained for the different tests and the characteristics of .pdfarihantgiftgallery
 
Q1. What limits the number of different wavelengths that can be used.pdf
Q1. What limits the number of different wavelengths that can be used.pdfQ1. What limits the number of different wavelengths that can be used.pdf
Q1. What limits the number of different wavelengths that can be used.pdfarihantgiftgallery
 
11. Internal validity refers to a. The extent to which a researcher.pdf
11. Internal validity refers to a. The extent to which a researcher.pdf11. Internal validity refers to a. The extent to which a researcher.pdf
11. Internal validity refers to a. The extent to which a researcher.pdfarihantgiftgallery
 

More from arihantgiftgallery (20)

A variety of media and culture conditions can be used to culture and .pdf
A variety of media and culture conditions can be used to culture and .pdfA variety of media and culture conditions can be used to culture and .pdf
A variety of media and culture conditions can be used to culture and .pdf
 
A program consists of 4 musical numbers and 3 speeches. In how many .pdf
A program consists of 4 musical numbers and 3 speeches. In how many .pdfA program consists of 4 musical numbers and 3 speeches. In how many .pdf
A program consists of 4 musical numbers and 3 speeches. In how many .pdf
 
A Moving to another question will save this response. Question 4 Iden.pdf
A Moving to another question will save this response. Question 4 Iden.pdfA Moving to another question will save this response. Question 4 Iden.pdf
A Moving to another question will save this response. Question 4 Iden.pdf
 
A plant with a very extensive root system would be able to better abs.pdf
A plant with a very extensive root system would be able to better abs.pdfA plant with a very extensive root system would be able to better abs.pdf
A plant with a very extensive root system would be able to better abs.pdf
 
property, plant, and equipment are categorized as property, pla.pdf
property, plant, and equipment are categorized as property, pla.pdfproperty, plant, and equipment are categorized as property, pla.pdf
property, plant, and equipment are categorized as property, pla.pdf
 
Write a program in Matlab using Newtons method to solve this syste.pdf
Write a program in Matlab using Newtons method to solve this syste.pdfWrite a program in Matlab using Newtons method to solve this syste.pdf
Write a program in Matlab using Newtons method to solve this syste.pdf
 
Why is it that bacterial ribosomes can begin translation before mRNA.pdf
Why is it that bacterial ribosomes can begin translation before mRNA.pdfWhy is it that bacterial ribosomes can begin translation before mRNA.pdf
Why is it that bacterial ribosomes can begin translation before mRNA.pdf
 
Write a C++ program with a function defined to give the person a .pdf
Write a C++ program with a function defined to give the person a .pdfWrite a C++ program with a function defined to give the person a .pdf
Write a C++ program with a function defined to give the person a .pdf
 
Which standards organization defined the Ethernet standardA.IEEE.pdf
Which standards organization defined the Ethernet standardA.IEEE.pdfWhich standards organization defined the Ethernet standardA.IEEE.pdf
Which standards organization defined the Ethernet standardA.IEEE.pdf
 
When the pH of a solution changes from 2 to 6 a) That solution beco.pdf
When the pH of a solution changes from 2 to 6 a) That solution beco.pdfWhen the pH of a solution changes from 2 to 6 a) That solution beco.pdf
When the pH of a solution changes from 2 to 6 a) That solution beco.pdf
 
Which is the correct answer Consider the characteristics of moss an.pdf
Which is the correct answer Consider the characteristics of moss an.pdfWhich is the correct answer Consider the characteristics of moss an.pdf
Which is the correct answer Consider the characteristics of moss an.pdf
 
Unequal crossing over is responsible for creating paracentric inversi.pdf
Unequal crossing over is responsible for creating paracentric inversi.pdfUnequal crossing over is responsible for creating paracentric inversi.pdf
Unequal crossing over is responsible for creating paracentric inversi.pdf
 
True False When the null hypothesis is not rejected, there is no p.pdf
True False When the null hypothesis is not rejected, there is no p.pdfTrue False When the null hypothesis is not rejected, there is no p.pdf
True False When the null hypothesis is not rejected, there is no p.pdf
 
Thesus the rat is in a labyrinth. Initially, he is in a chamber with.pdf
Thesus the rat is in a labyrinth. Initially, he is in a chamber with.pdfThesus the rat is in a labyrinth. Initially, he is in a chamber with.pdf
Thesus the rat is in a labyrinth. Initially, he is in a chamber with.pdf
 
summarizing the case #3 on facebook freedom of speech and giving add.pdf
summarizing the case #3 on facebook freedom of speech and giving add.pdfsummarizing the case #3 on facebook freedom of speech and giving add.pdf
summarizing the case #3 on facebook freedom of speech and giving add.pdf
 
So Far I have these two classes but I need help with my persontest c.pdf
So Far I have these two classes but I need help with my persontest c.pdfSo Far I have these two classes but I need help with my persontest c.pdf
So Far I have these two classes but I need help with my persontest c.pdf
 
Shock Case Study (15 pts)HPI. Mrs. K is a 22 yo college student, .pdf
Shock Case Study (15 pts)HPI. Mrs. K is a 22 yo college student, .pdfShock Case Study (15 pts)HPI. Mrs. K is a 22 yo college student, .pdf
Shock Case Study (15 pts)HPI. Mrs. K is a 22 yo college student, .pdf
 
results obtained for the different tests and the characteristics of .pdf
results obtained for the different tests and the characteristics of .pdfresults obtained for the different tests and the characteristics of .pdf
results obtained for the different tests and the characteristics of .pdf
 
Q1. What limits the number of different wavelengths that can be used.pdf
Q1. What limits the number of different wavelengths that can be used.pdfQ1. What limits the number of different wavelengths that can be used.pdf
Q1. What limits the number of different wavelengths that can be used.pdf
 
11. Internal validity refers to a. The extent to which a researcher.pdf
11. Internal validity refers to a. The extent to which a researcher.pdf11. Internal validity refers to a. The extent to which a researcher.pdf
11. Internal validity refers to a. The extent to which a researcher.pdf
 

Recently uploaded

Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxAdelaideRefugio
 
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxMichaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxRugvedSathawane
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonhttgc7rh9c
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaEADTU
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Celine George
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17Celine George
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxCeline George
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....Ritu480198
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 

Recently uploaded (20)

Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxMichaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17How to Add a Tool Tip to a Field in Odoo 17
How to Add a Tool Tip to a Field in Odoo 17
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 

Using java script for an html page how do you add a name to a locati.pdf

  • 1. Using java script for an html page how do you add a name to a location storage then it is automatically added to a table on the webpage Solution Answer: There are 2 methods for storing data : - 1) localStorage , 2) sessionStorage if we want the data to be stored forever then use localStorage if not then use sessionStorage . Example : localStorage.name = "elixir black"