Results 1 to 4 of 4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User Pa3KaTaH's Avatar
    Join Date: Sep:2003
    Location:
    Posts: 3,851

    onSubmit image..

    , ...

    :
    <form..... onSubmit="document.Uploader.Submit.Src=' style/hourglass.gif'" >
    ....

    <input type="Image" Src="style/48error.jpg" name="Submit" border="0">

    ...</form>

    - `` , / /

    - - , browser- error `document.Uploader.Submit.Src` - !? , img

    , - !

  2. #2
    Registered User iMarh's Avatar
    Join Date: May:2002
    Location:
    Posts: 373
    <form onSubmit="document.getElementById('0').s rc='2.gif';">
    <input type="Submit">
    </form>
    <img src="1.gif" id="0">

    , .

  3. #3
    Registered User NoDude!'s Avatar
    Join Date: May:2003
    Location: Calgary, AB
    Posts: 1,334
    javaScript (javaScript?!? )

    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>

    <script language="JavaScript" type="text/JavaScript">
    function changePic(){
    window.document.getElementById('pic1').s rc='2.gif';
    window.setTimeout('submitTheForm()','100 0');
    }
    function submitTheForm(){
    window.document.myform.submit();
    }
    </script>


    <title>Change The F...ING PIC</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    </head>
    <body>

    <form action="submit.php" name="myform" id="myform">
    <input type="button" name="Submit" value="Click Me!" onclick="javascript:changePic()" />
    </form>
    <img src="1.gif" id="pic1" />


    </body>
    </html>
    Last edited by NoDude!; 12th February 2004 at 12:19.

  4. #4
    Registered User Pa3KaTaH's Avatar
    Join Date: Sep:2003
    Location:
    Posts: 3,851
    ,
    10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |