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
prebacivanje podatak iz forme

 
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
Gibbo



Joined: 26 Jul 2006
Posts: 17
Location: localhost

PostPosted: 31.08.2006 22:44    Post subject: prebacivanje podatak iz forme Add user to your forum ignore list Reply with quote

sljedeci code radi mi na IE i Operi, ali ne i u Firefox-u, pa molim pomoc

znaci kad kliknem na opciju u polje vise treba se prebaciti neka vrijednost


Code:

<form name="cl" action="?a=novosti&amp;id=14" method="post">
<select name="clanci" onChange="ubaci(this)">
         <option value="">---------------------------------</option>
         <option label=" Gać... 4616m" value="29&amp;tip=3">Gać... 4616m</option>
                        <option label="Ljetni tečaj" value="28&amp;tip=4">Ljetni tečaj </option>
                        <option label="Kontakt" value="1&amp;tip=0">Kontakt</option>
          </select><br>


<input class="input2" name="vise" type="text" value="" size="40" />

<script language="javascript" type="text/javascript">
         <!--
         function ubaci(vrijednost){
            if (vrijednost.value.length>0){
               cl.vise.value = "?a=" + "home" + "&id=" + vrijednost.value;
            } else {
               cl.vise.value = "";
            }
         }
         -->
</script>

</form>
Back to top
View user's profile Send private message Visit poster's website
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 01.09.2006 16:52    Post subject: Add user to your forum ignore list Reply with quote

Code:
function ubaci(vrijednost) {
    f = document.forms['cl'];
    if (vrijednost.value.length > 0) {
        f.vise.value = "?a=" + "home" + "&id=" + vrijednost.value;
    } else {
        f.vise.value = "";
    }
}

_________________
[+]I[+]am[+]my[+]own[+]religion[+]
Back to top
View user's profile Send private message Visit poster's website Twitter profile
Gibbo



Joined: 26 Jul 2006
Posts: 17
Location: localhost

PostPosted: 02.09.2006 00:03    Post subject: Add user to your forum ignore list Reply with quote

thx zytzagoo
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