Html combobox save user input
7 posts
Page 1 of 1
Hello as the title says i need to create a combobox where it saves the users input from a textbox and stores it local on their machine, can anyone give me an example if its possible ?
Do you mean you want to add values from a textbox into a combobox, but reload all the data in the combobox when the user visits the page again?
I imagine this could be done using PHP and cookies, where you could store an array of items in a cookie and retrieve that upon page load.
If you don't mind me asking, though, what will be the purpose of this? There might be a better way of doing it for your specific case.
I imagine this could be done using PHP and cookies, where you could store an array of items in a cookie and retrieve that upon page load.
If you don't mind me asking, though, what will be the purpose of this? There might be a better way of doing it for your specific case.
Im trying to do a web radio that uses html and jquery, so it would be nice if the user could store the actual radio stations
The best option in that case, I think, would be to setup a database on your server and store the users' "playlists" or whatever in there... or else his radio stations would be wiped out everytime he clears his browser data or when he goes to another device.
Would this be saved on change or on button click?
CodenStuff wrote:Nope, it's just your sick and dirty mind. You sick twisted warped little pervo![]()
Filip wrote:Would this be saved on change or on button click?On button click
7 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023