Advanced Search

Results 1 to 4 of 4

Thread: maximum the receiver does not work

  1. #1
    Join Date
    Nov 2012
    Location
    İstanbul
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default maximum the receiver does not work

    Hello,

    maximum the receiver does not work

    What could be the problem?
    Could you help me?


    Video: http://www.teklif.uzayforum.com/swf.html

    PHP Code:
    <script type="text/javascript">
    function baslangic(status)
    {
    status=!status;    
    textler=document.getElementsByName("secilen_receiver_sayisi[]");
    for(x=0;x<textler.length;x++){
    textler[x].disabled = status;
    }
    }

    function isaretle(){
    marka=document.getElementsByName("secilenreceivermarka_id[]");
    sayi=document.getElementsByName("secilen_receiver_sayisi[]");
    for(x=0;x<marka.length;x++){
    sayi[x].disabled=!marka[x].checked;
    }
    }

    function kontrol(){

    marka=document.getElementsByName("secilenreceivermarka_id[]");
    sayi=document.getElementsByName("secilen_receiver_sayisi[]");
    for(x=0;x<marka.length;x++){
    if(marka[x].checked==true&&(sayi[x].value><?=$maximum_receiver?>||sayi[x].value==""||sayi[x].value<1||sayi[x].value.search(/\d/g)<0)){

    alert("Receiver seÁme isteğe bağlıdır.\n\nEğer bir marka seÁtiniz ise miktarıda seÁmelisiniz ve toplam daire sayınız olan <?=$maximum_receiver?> adet geÁmemeniz gerekiyor.");

    return false;
    }
    }
    return true;
    }
    </script>
    Thanks

  2. #2
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,707
    Thanks
    2
    Thanked 388 Times in 383 Posts

    Default

    it would be better if you posted a link to the page
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

  3. #3
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,629
    Thanks
    63
    Thanked 516 Times in 502 Posts
    Blog Entries
    5

    Default

    Your question is unclear.
    Please provide more information, and be as specific as possible.
    • What do you want to accomplish?
    • What have you already tried?
    • What problems did you encounter?

    Also, please be sure that you have included all relevant code and/or a link to the page in question.


    IF you're meaning to say that the value of $maximum_reciever is not printed, you'd need to show us the PHP script as well.
    We Only Torture the Folks We Don't Like (You're Probably Gonna Be Okay)
    It's a Party in the CIA

  4. #4
    Join Date
    Nov 2012
    Location
    İstanbul
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you very much for your attention
    took care of the problem

    Source: http://stackoverflow.com/questions/1...ing-javascript

    Best Regards
    Adem

Similar Threads

  1. Text maximum 1 line
    By Jeroen94 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 09-21-2012, 01:46 PM
  2. Replies: 1
    Last Post: 02-12-2010, 05:20 PM
  3. maximum position restraint
    By jpweeks in forum JavaScript
    Replies: 1
    Last Post: 04-17-2009, 08:04 AM
  4. How to Resize DHTML Window to Maximum?
    By EDACD in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 10-24-2007, 09:35 AM
  5. What is the maximum size of POST Data?
    By codeexploiter in forum Other
    Replies: 2
    Last Post: 03-16-2007, 10:16 AM

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
  •