How to pass variable value between different html pages in javascript

前端 未结 5 2040
滥情空心
滥情空心 2020-11-27 17:45

I want to pass the value of selected list item to the other page,means if I m selecting abc from the list then this abc value passes to the next html form a

5条回答
  •  广开言路
    2020-11-27 18:04

    You can use localStorage events to pass values between web pages, as shown in this demo:

    http://html5demos.com/storage-events

提交回复
热议问题