Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Problem: Javascripts u IE radi, ali u FF ne

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side
View previous topic :: View next topic  
Author Message
i72852



Joined: 25 Feb 2004
Posts: 81

PostPosted: 29.08.2005 15:05    Post subject: Problem: Javascripts u IE radi, ali u FF ne Add user to your forum ignore list Reply with quote

problem je u ovom kodu:

Code:
<html>
   <head>
      <script type="text/javascript">
         function getp(){
            a = document.getElementById('nesto').value;
            if (a == "1") { document.getElementById('tip').innerHTML="222" }
            else if (a == "2") { document.getElementById('tip').innerHTML="111" }
            else if (a == "3") { document.getElementById('tip').innerHTML="33" }
         }
      </script>
   </head>
   <body>
      <form name="form1">
         <select name="nesto" onChange="getp()">
            <option value="1">bla</option>
            <option value="2">bla1</option>
            <option value="3">bla2</option>
         </select>
      </form>
      <div id="tip">__</div>
   </body>
</html>


u IE super, ali u FF nikako da proradi...
ima tko kakvo rjesenje??
Back to top
View user's profile Send private message Visit poster's website
che.UP
mi3.crew


Joined: 07 Sep 2003
Posts: 2320
Location: zagreb

PostPosted: 29.08.2005 15:23    Post subject: Add user to your forum ignore list Reply with quote

imam ja!!!!!11 stavi nekom elementu id="nesto"

_________________
UP | TypeTester | Accommodations App
Meni u Firefox-u ne radi AJAX
Back to top
View user's profile Send private message Visit poster's website
Sulien



Joined: 04 Jan 2004
Posts: 2905
Location: Zagreb

PostPosted: 29.08.2005 23:18    Post subject: Add user to your forum ignore list Reply with quote

haha LOL!! Laughing

care Cool
Back to top
View user's profile Send private message Send e-mail Visit poster's website
i72852



Joined: 25 Feb 2004
Posts: 81

PostPosted: 30.08.2005 14:29    Post subject: Add user to your forum ignore list Reply with quote

Embarassed

zahvaljujem... Embarassed
Embarassed
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Client-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group