lazda144 Posted February 10, 2008 Report Share Posted February 10, 2008 (edited) vai kaadam ir skripts kas generee tikai kodu bez nekādām pogaam kuru nospiezot kods genereejas bet viss notiek atverot lapu? apmēram 6ciparu skaitli Edited February 10, 2008 by lazda144 Link to comment Share on other sites More sharing options...
black Posted February 10, 2008 Report Share Posted February 10, 2008 Ideāls problēmas apraksts! Link to comment Share on other sites More sharing options...
lazda144 Posted February 10, 2008 Author Report Share Posted February 10, 2008 piemeeram šis skripts , tikai lai naw jāspiez poga lai tiktu pie koda http://paste.php.lv/6760/nonum Link to comment Share on other sites More sharing options...
Aleksejs Posted February 10, 2008 Report Share Posted February 10, 2008 izsauc šo daļu pie lapas atvēršanas, nevis pogas nospiešanas: onSubmit="password.value = hex_md5(master.value + ':' + site.value).substr(0,8);... atslēgas vārds onload Link to comment Share on other sites More sharing options...
lazda144 Posted February 10, 2008 Author Report Share Posted February 10, 2008 onload="password.value = hex_md5(master.value + ':' + site.value).substr(0,8); document.f.password.focus(); neder Link to comment Share on other sites More sharing options...
Aleksejs Posted February 10, 2008 Report Share Posted February 10, 2008 un kuram elementam Tu to onload liec? Es saku, ka der. Link to comment Share on other sites More sharing options...
lazda144 Posted February 10, 2008 Author Report Share Posted February 10, 2008 es tac paraadiiju kaa es uzliku neder... Link to comment Share on other sites More sharing options...
Kaitnieks Posted February 10, 2008 Report Share Posted February 10, 2008 es tac parādīju kā es uzliku Aleksejs Tev pa tēmu prasa - Tu nevari vienkārši OnSubmit nomainīt uz OnLoad formai, Tev tas viss vēl jāpārnes uz BODY tagu. Link to comment Share on other sites More sharing options...
lazda144 Posted February 10, 2008 Author Report Share Posted February 10, 2008 es tacu pamainiiju onload="password.value = hex_md5(master.value + ':' + site.value).substr(0,8); document.f.password.focus(); Link to comment Share on other sites More sharing options...
Aleksejs Posted February 11, 2008 Report Share Posted February 11, 2008 Otro reizi: "Kuram elementam?" Link to comment Share on other sites More sharing options...
lazda144 Posted February 11, 2008 Author Report Share Posted February 11, 2008 tam kuru minēju ieprieksējā postā vajag vēl kaadam? Link to comment Share on other sites More sharing options...
Aleksejs Posted February 11, 2008 Report Share Posted February 11, 2008 (edited) onload="password.value = hex_md5(master.value + ':' + site.value).substr(0,8); document.f.password.focus(); Kurā vietā pateikts, kuram elementam Tu to pieliki? Aj, karoč pašās koda beigās pirms </body> vienkārši ieliec: <script>password.value = hex_md5(master.value + ':' + site.value).substr(0,8); document.f.password.focus();</script> un miers. Edited February 11, 2008 by Aleksejs Link to comment Share on other sites More sharing options...
Recommended Posts