SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Erros :(

  1. #1
    SitePoint Member GeneticJungle's Avatar
    Join Date
    Jun 2002
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Erros :(

    Does anyoen see the error in this code? I'm trying to swap images.
    <script language="JavaScript">
    <!--
    function imgswap(s){
    var bt="/images/pets/happy/";
    t1.elements.src=bt+document.pets.imgname.value+".gif";
    }

    function imgreplace(s){
    var bt="/images/pets/";
    t1.elements.src=bt+document.pets.imgname.value+".gif";
    }
    //-->
    </script>

  2. #2
    Xbox why have you forsaken me? moospot's Avatar
    Join Date
    Feb 2001
    Location
    Clearwater, FL
    Posts
    3,615
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What is the error you are getting? And which line is causing the error?


Bookmarks

Posting Permissions

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