nancmu 0 Report post Posted January 1, 2005 The same as topic... I try to learn cookie setting from many scripts but i still don't got it . anyone help me, please .for example this code... function get_cookie(Name) {[br]//Get cookie routine by Shelley Powers [/br] var search = Name + "="[br] var returnvalue = "";[/br] if (document.cookie.length > 0) {[br] offset = document.cookie.indexOf(search)[/br] if (offset != -1) { [br] offset += search.length[/br] end = document.cookie.indexOf(";", offset);[br] if (end == -1) end = document.cookie.length;[/br] returnvalue=unescape(document.cookie.substring(offset, end))[br] }[/br] }[br] return returnvalue;[/br]} Share this post Link to post Share on other sites
vizskywalker 0 Report post Posted January 13, 2005 Try HTML goodies. It has great tutorials on many tasks in many different script languages. THe javascript cookie tutorial can be found here: http://www.htmlgoodies.com/beyond/javascript/article.php/3470821 Share this post Link to post Share on other sites
nancmu 0 Report post Posted January 13, 2005 Thank a lot, vizskywalker htmlgoodies.com the new and excellent site for me.. i think i must stay in this site for a long time. I can learn basic for javascript, css, vbscript and more.... Did you know? i try to search sites that i can learn about this for a week but i'v just find. Thank you again . Share this post Link to post Share on other sites
vizskywalker 0 Report post Posted January 14, 2005 Anytime. HTML Goodies helped me with many a webpage in many different ways. It also produces books that are of pretty good quality. You may find them at your library. Good luck! Share this post Link to post Share on other sites