Jump to content
php.lv forumi

onSubmit=\"document.login.login.value=''


ziedinjsh

Recommended Posts

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

Link to comment
Share on other sites

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 by ziedinjsh
Link to comment
Share on other sites

  • 1 year later...

<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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...