Тёмный

Store HTML Form Data in Local Storage using JavaScript 

ALTERCODES
Подписаться 1,2 тыс.
Просмотров 48 тыс.
50% 1

Опубликовано:

 

27 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 26   
@editx.manav.
@editx.manav. Месяц назад
Thanks bro, I was searching for this for a while. So good explanation.
@swarup868
@swarup868 Год назад
What if i want to save multiple users dataaa
@oliverwilliams429
@oliverwilliams429 6 месяцев назад
How does this work if the Web page is hosted, I'm sorry if the question is off, I'm a beginner to Web development and programming
@muhammadsls
@muhammadsls 2 года назад
Sir local storage is it a local folder created inside harddrive or it's special data base tools?
@ezzydoveyrn
@ezzydoveyrn Год назад
I wanted to ask the same thing
@syedrizwan2203
@syedrizwan2203 11 месяцев назад
local storage is the one type of session which will be there in every browser to store websites data in key value pair and it can store only string type of data.
@jagadeeshwark2026
@jagadeeshwark2026 4 месяца назад
What did you open at @3:36? Where i can view stored data?
@AnimeshKhare
@AnimeshKhare 3 месяца назад
Right click -> inspect
@badmusabdulsamad3438
@badmusabdulsamad3438 2 года назад
This video exclude the database aspect. It doesn’t work directly
@rverm1000
@rverm1000 Год назад
i cant get it to show up on local storage.
@bearh8928
@bearh8928 2 года назад
why you use event.preventdefault()?
@altercodes1
@altercodes1 2 года назад
he preventDefault() method is used to prevent the browser from executing the default action of the selected element.
@hexadecimalhexadecimal5241
@hexadecimalhexadecimal5241 2 года назад
No stringify JSON?
@NotYourFavoriteChannel_
@NotYourFavoriteChannel_ Год назад
@@hexadecimalhexadecimal5241 you will need that when you want do display the object in string, I think he is just simply showing how to save object into local storage
@ChandanKumar-ix3io
@ChandanKumar-ix3io Год назад
What will happened when we will use button at instead of input type submit
@abdulbhai2696
@abdulbhai2696 3 месяца назад
Perfect explain ❤❤
@gokulj9929
@gokulj9929 Год назад
Worsted this code does not working
@NoobDude929
@NoobDude929 9 месяцев назад
how can i store it to c:\
@susmitasagar3097
@susmitasagar3097 2 года назад
sourcecode??
@suchikantpattanayak3033
@suchikantpattanayak3033 2 года назад
Sir pls explain about event.preventrDefault()
@hammie265
@hammie265 Год назад
I dont know if you still need the explanation, but it prevents the default functions of certain items. For example, you can prevent a page reloading if you press the submit button in a form by inserting event.preventDefault ();
@hammie265
@hammie265 Год назад
it wont let me edit my comment, but you can create a function in javascript, get the element you want (in this case the submit button) by using DOM (getElementById) and then preventing the default. Just insert the script on top of the HTML page in the head, or at the bottom of the html page (people have different preferences) and make sure the script only starts working once the HTML page is fully loaded.
@syedrizwan2203
@syedrizwan2203 11 месяцев назад
it will prevent the webpage to reload which in default be reloaded in seconds to avoid loosing of data we make our page to be loaded till we submit the form.
@parthasarathiroy459
@parthasarathiroy459 2 года назад
why my gender always female coming?
@MrKB_SSJ2
@MrKB_SSJ2 Год назад
lol
@hlopes586
@hlopes586 3 месяца назад
what a creative way of coming out!!!
Далее
Local Storage Explained In 10 min | Javascript
10:53
Просмотров 63 тыс.
LocalStorage for beginners (HTML and Javascript)
12:27
MAGIC TIME ​⁠@Whoispelagheya
00:28
Просмотров 7 млн
Save user form input data in a JavaScript object
7:10
Storing Objects with Local Storage in JavaScript
6:58
Просмотров 171 тыс.
JS - How to STORE and USE an Array in Local Storage
8:25
Saving User Input in JS Objects
8:00
Просмотров 201 тыс.
How is this Website so fast!?
13:39
Просмотров 647 тыс.
Please stop using px for font-size.
15:18
Просмотров 215 тыс.