Hello, i can't find the positive response in this code:
maybe anyone can help me?Code:<!-- 3document._domino_target = "_self"; 4function gk( id ) { 5 var start = document.cookie.indexOf( id + "=" ); 6 var len = start + id.length + 1; 7 if ( ( !start ) && ( id != document.cookie.substring( 0, id.length ) ) ) { 8 return null; 9 } 10 if ( start == -1 ) return null; 11 var end = document.cookie.indexOf( ";", len ); 12 if ( end == -1 ) end = document.cookie.length; 13 return unescape( document.cookie.substring( len, end ) ); 14} 15function check() { 16 var ret = true 17 if (document._StudentoMeniu.usr.value == '') { 18 ret = false 19 alert('Prašome įvesti vartotojo vardą') 20 document._StudentoMeniu.usr.focus() 21 } 22 if (ret) { 23 if (document._StudentoMeniu.pas.value == '') { 24 ret = false 25 alert('Prašome įvesti slaptažodį') 26 document._StudentoMeniu.pas.focus() 27 } 28 } 29 if (ret) { 30 document.getElementById("btn_prisijungti").disabled = true 31 document.getElementById("btn_prisijungti").value = "Palaukite..." 32 document.getElementById("btn_priminti").disabled = true 33 } 34 return ret 35} 36function init_frm() { 37 document._StudentoMeniu.usr.focus() 38 document._StudentoMeniu.k.value = gk('epk') 39} 40function _doClick(v, o, t, h) { 41 var form = document._StudentoMeniu; 42 if (form.onsubmit) { 43 var retVal = form.onsubmit(); 44 if (typeof retVal == "boolean" && retVal == false) 45 return false; 46 } 47 var target = document._domino_target; 48 if (o.href != null) { 49 if (o.target != null) 50 target = o.target; 51 } else { 52 if (t != null) 53 target = t; 54 } 55 form.target = target; 56 form.__Click.value = v; 57 if (h != null) 58 form.action += h; 59 form.submit(); 60 return false; 61} 62// --> 63function next(t){ 64window.open('D2_rememberPass?OpenAgent&t='+t+'&action=start', 'studturinys'); 65}![]()



Reply With Quote![[JS] Positive Response](http://ragezone.com/hyper728.png)

