user645607 user645607 - 7 months ago 50
jQuery Question

make cookie from the input of a prompt box

okay im trying to make something where you have text and when you click on it, it displays a prompt box then whatever you enter gets put into a cookie, but also at the same time the text gets replaced with the input. i know it sounds kinda confusing so i made a jsfiddle.


You should "lint" your code once in a while. Done! That was easy to fix... See enter code here