You are here: irt.org | About | Feedback | 1277 [ previous next ]
Feedback on:
irt.org FAQ Knowledge Base Q1360
Sent by
Keoki Shupe on May 23, 2000 at 21:33:16:
Worth:
Worth reading
Length:
Just right
Technical:
Just right
Comments:
Perhaps a minor typo? Getting a cookie named 'user'. Setting a cookie named 'beenHere'.
Performance Question
Which is better, function a or b?
function a(){
...document.cookie...
...document.cookie...
...document.cookie...
...document.cookie...
...document.cookie...
}
function b(){
var storeCookie = document.cookie;
...storeCookie...
...storeCookie...
...storeCookie...
...storeCookie...
...storeCookie...
}
Thanks,
Keoki