ziedinjsh Posted April 1, 2010 Report Share Posted April 1, 2010 echo "<form method='post' action='".$_SERVER['PHP_SELF']."' name='login' onSubmit=\"document.login.login.value='White..'\">"; viss ir ok, bet kā varētu dabūt tā lai White... vietā ir loader.gif bilde?? value='<img src='misc/loader.gif'>' :D tā neiet Quote Link to comment Share on other sites More sharing options...
2easy Posted April 1, 2010 Report Share Posted April 1, 2010 ieliec html <div id="load-img"></div> izsauc js document.getElementById("load-img").innerHTML = '<img src="misc/loader.gif" alt="" />'; Quote Link to comment Share on other sites More sharing options...
ziedinjsh Posted April 2, 2010 Author Report Share Posted April 2, 2010 (edited) es sapratu šādi echo "<form method='post' action='".$_SERVER['PHP_SELF']."' name='login' onSubmit=\"document.login.login.value='<div id='load-img'></div>'\">"; kur man ir jāizsauc JS?? Edited April 2, 2010 by ziedinjsh Quote Link to comment Share on other sites More sharing options...
ziedinjsh Posted June 4, 2011 Author Report Share Posted June 4, 2011 <form method='post' action='".$_SERVER['PHP_SELF']."' name='addmp3' enctype='multipart/form-data' onSubmit=\"document.getElementById('upload').innerHTML ='<img src='misc/sloader.gif'>'\"><div id='upload'></div> nestrādā.. nekas nenotiek.. sloader.gif bilde neparādās nekur! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.