JavaScript Cookies Çerezler

JavaScript çerez işlemi
function lg() {
var now = (new Date()).getTime();

var cookie = “T” + start_time + “/” + start_time + “/” + now;
SetGmailCookie(“GMAIL_LOGIN”, cookie);
}
——————————————————————————————–
<!–Bu satırlarda HTMl de bir işlem yapılmaz –>
————————————————————————————————–
<a href=javascript:open_login()>sisteme gir </a><!–link ile javascript fonksiyonu çalıştırma
——————————————————————————————————–

—————————————————————————
onFocus=”if(this.value==’Your message’)this.value=”;”
————————————————————————–
document.getElementById(‘warning’).innerHTML = ‘Dikkat! :’+vHata;
————————————————————————

————–javascript if döngüsü ————–
(var1==var2) ? ise bunu yap : null veya bunu yap
——————————————————————————
//header( “Expires: Mon, 20 Dec 1998 01:00:00 GMT” );
// header( “Last-Modified: ” . gmdate(“D, d M Y H:i:s”) . ” GMT” );
// header( “Cache-Control: no-cache, must-revalidate” );
// header( “Pragma: no-cache” );
——————————————————————————–

<a href=”javascript:sendRequest(‘myRequest’);”>click me.</a>
//———————————————————–[:en]JavaScript Cookies
function lg() {
var now = (new Date()).getTime();

var cookie = “T” + start_time + “/” + start_time + “/” + now;
SetGmailCookie(“GMAIL_LOGIN”, cookie);
}
——————————————————————————————–
<!–There is no action on HTMl in these rows –>
————————————————————————————————–
<a href=javascript:open_login()>sisteme gir </a><!–link ile javascript fonksiyonu çalıştırma
——————————————————————————————————–

—————————————————————————
onFocus=”if(this.value==’Your message’)this.value=”;”
————————————————————————–
document.getElementById(‘warning’).innerHTML = ‘Dikkat! :’+vHata;
————————————————————————

————–javascript if döngüsü ————–
(var1==var2) ? ise bunu yap : null veya bunu yap
——————————————————————————
//header( “Expires: Mon, 20 Dec 1998 01:00:00 GMT” );
// header( “Last-Modified: ” . gmdate(“D, d M Y H:i:s”) . ” GMT” );
// header( “Cache-Control: no-cache, must-revalidate” );
// header( “Pragma: no-cache” );
——————————————————————————–

<a href=”javascript:sendRequest(‘myRequest’);”>click me.</a>
//——————————————

İlk yorum yapan olun

Bir Cevap Yazın

This site uses Akismet to reduce spam. Learn how your comment data is processed.