TeddyKiller Posted May 31, 2010 Share Posted May 31, 2010 I want to place a Javascript Cookies value into a textbox, and I can't find any articles about it. Any help? Thanks Link to comment https://forums.phpfreaks.com/topic/203427-placing-javascript-cookie-value-into-a-textbox/ Share on other sites More sharing options...
Adam Posted June 2, 2010 Share Posted June 2, 2010 Are you wanting to do this on an event? If not it would be much easier to do using PHP: <input type="text" name=".." value="<?php if (!empty($_COOKIE['cookie_name'])) echo $_COOKIE['cookie_name']; ?>" /> Link to comment https://forums.phpfreaks.com/topic/203427-placing-javascript-cookie-value-into-a-textbox/#findComment-1066567 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.