Referral to the cell whose contents are loaded with cryptoma



  • I've got a g on my website.

     <div id="ad-car-detail-content">
     </div> 
    

    in which content is loaded with this crypt

    <script type="text/javascript" charset="utf-8" src="http://avtousta.ucoz.com/js/board/add-cars-board.js"></script>
    

    It's like this.

    <div id="ad-car-detail-content">
    </div>
    <script type="text/javascript">
      $("select#car_model_id").change(
        function() {
          var str = "";
          $("select#car_model_id option:selected").each(
            function() {
              str += $(this).text() + " ";
            });
          $("input#bdF1").val(str);
        }).change();
    </script>
    <script type="text/javascript">
      $("select.car_Marka")
        .on("change",
          function() {
            var selected_option =
              $("select.car_Marka option:selected");
            $("input.catSelector9")
              .attr("id", selected_option.attr("id"))
              .attr("value", selected_option.attr("value"));
          });
    </script>
    <script type="text/javascript" charset="utf-8" src="http://avtousta.ucoz.com/js/board/add-cars-board.js"></script>

    In choice Avtomobil tipi some kind of car in Bütün Markalar for selection Marka secin some kind of car stamp, INPUT 0 the value shall change INPUT VALUE and INPUT ID The chosen mark of the vehicle.

    Model secin in the choice of vehicle model INPUT 0 must change. INPUT VALUE selected component OPTION♪ Like we chose. <OPTION>w202</OPTION>Importance INPUT VALUE shall be such as: <input value="w202">But why is that important? VALUE and ID It doesn't change when it's loaded.

    And if I take the whole code and put it on the page, that's how it works.

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <div id="ad-cars-detail-id" class="ad-cars-detail-right">
    

    <div id="ad-car-detail-content">
    <form method="post" id="addEntForm" style="margin:0px" name="addform" enctype="multipart/form-data" action="http://avtousta.ucoz.com/board" onsubmit="openery();return false;">
    <input type="hidden" name="jkd498" value="1">
    <input type="hidden" name="jkd428" value="1">
    <div class="manTable" id="bdM64">

    <div class="ad-cars-detail-right">

    <div id="ad-car-detail-content">

      &lt;input type="hidden" name="jkd498" value="1"&gt;
      &lt;input type="hidden" name="jkd428" value="1"&gt;
      &lt;div class="manTable" id="bdM64"&gt;
        &lt;div id="bdM49"&gt;
          &lt;div class="manTd2" id="bdM51"&gt;
            &lt;select id="bdF18" class="manFlFlt1" name="filter1" onchange="fillMark();"&gt;
              &lt;option id="bdM50" value="0"&gt;Avtomobil: Tipi&lt;/option&gt;
              &lt;option value="1"&gt;Minik avtomobilləri&lt;/option&gt;
              &lt;option value="2"&gt;Minik avtomobilləri kommersiya&lt;/option&gt;
              &lt;option value="3"&gt;Yük Avtomobilləri&lt;/option&gt;
              &lt;option value="4"&gt;Avtobuslar&lt;/option&gt;
              &lt;option value="5"&gt;Qoşqu dartanlar&lt;/option&gt;
              &lt;option value="6"&gt;Qoşqular&lt;/option&gt;
              &lt;option value="7"&gt;Çıxarıla bilinən kuzalar&lt;/option&gt;
              &lt;option value="8"&gt;Motoskletlər&lt;/option&gt;
              &lt;option value="9"&gt;Baggilər&lt;/option&gt;
              &lt;option value="10"&gt;Skuterlər&lt;/option&gt;
              &lt;option value="11"&gt;Moto yolsuzluq&lt;/option&gt;
              &lt;option value="12"&gt;Karting&lt;/option&gt;
              &lt;option value="13"&gt;Yolsuzluq moto amfibi&lt;/option&gt;
              &lt;option value="14"&gt;Yolsuzluq Qar üçün&lt;/option&gt;
            &lt;/select&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div id="bdM61"&gt;
          &lt;div class="manTd2" id="bdM63"&gt;
            &lt;input class="catSelector9" checked="checked" type="button" value="90001" name="ocat" id="cus90001"&gt;
            &lt;div id="car_mark"&gt;
              &lt;select class="car_Marka" id="car_Marka" onchange="fillModel();"&gt;
                &lt;option id="0" value="0"&gt;Marka: Seçin&lt;/option&gt;
                &lt;option value="90001" id="cus90001"&gt;AC&lt;/option&gt;
                &lt;option value="90002" id="cus90002"&gt;Acura&lt;/option&gt;
                &lt;option value="90003" id="cus90003"&gt;Adler&lt;/option&gt;
                &lt;option value="90004" id="cus90004"&gt;Alfa Romeo&lt;/option&gt;
                &lt;option value="90005" id="cus90005"&gt;Alpina&lt;/option&gt;
                &lt;option value="90006" id="cus90006"&gt;Alpine&lt;/option&gt;
                &lt;option value="90007" id="cus90007"&gt;AM General&lt;/option&gt;
                &lt;option value="90008" id="cus90008"&gt;AMC&lt;/option&gt;
                &lt;option value="90009" id="cus90009"&gt;Ariel&lt;/option&gt;
                &lt;option value="90010" id="cus90010"&gt;Aro&lt;/option&gt;
                &lt;option value="90011" id="cus90011"&gt;Asia&lt;/option&gt;
                &lt;option value="90012" id="cus90012"&gt;Aston Martin&lt;/option&gt;
                &lt;option value="90013" id="cus90013"&gt;Audi&lt;/option&gt;
                &lt;option value="90014" id="cus90014"&gt;Austin&lt;/option&gt;
                &lt;option value="90015" id="cus90015"&gt;Autobianchi&lt;/option&gt;
                &lt;option value="90016" id="cus90016"&gt;Baltijas Dzips&lt;/option&gt;
                &lt;option value="90017" id="cus90017"&gt;Beijing&lt;/option&gt;
                &lt;option value="90018" id="cus90018"&gt;Bentley&lt;/option&gt;
                &lt;option value="90019" id="cus90019"&gt;Bertone&lt;/option&gt;
                &lt;option value="90020" id="cus90020"&gt;Bitter&lt;/option&gt;
                &lt;option value="90021" id="cus90021"&gt;BMW&lt;/option&gt;
                &lt;option value="90022" id="cus90022"&gt;Borgward&lt;/option&gt;
                &lt;option value="90023" id="cus90023"&gt;Brabus&lt;/option&gt;
                &lt;option value="90024" id="cus90024"&gt;Brilliance&lt;/option&gt;
                &lt;option value="90025" id="cus90025"&gt;Bristol&lt;/option&gt;
                &lt;option value="90026" id="cus90026"&gt;Bufori&lt;/option&gt;
                &lt;option value="90027" id="cus90027"&gt;Bugatti&lt;/option&gt;
                &lt;option value="90028" id="cus90028"&gt;Buick&lt;/option&gt;
                &lt;option value="90029" id="cus90029"&gt;BYD&lt;/option&gt;
                &lt;option value="90030" id="cus90030"&gt;Byvin&lt;/option&gt;
                &lt;option value="90031" id="cus90031"&gt;Cadillac&lt;/option&gt;
                &lt;option value="90032" id="cus90032"&gt;Callaway&lt;/option&gt;
                &lt;option value="90033" id="cus90033"&gt;Carbodies&lt;/option&gt;
                &lt;option value="90034" id="cus90034"&gt;Caterham&lt;/option&gt;
                &lt;option value="90035" id="cus90035"&gt;Changan&lt;/option&gt;
                &lt;option value="90036" id="cus90036"&gt;ChangFeng&lt;/option&gt;
                &lt;option value="90037" id="cus90037"&gt;Chery&lt;/option&gt;
                &lt;option value="90038" id="cus90038"&gt;Chevrolet&lt;/option&gt;
                &lt;option value="90039" id="cus90039"&gt;Chrysler&lt;/option&gt;
                &lt;option value="90040" id="cus90040"&gt;Citroen&lt;/option&gt;
                &lt;option value="90041" id="cus90041"&gt;Cizeta&lt;/option&gt;
                &lt;option value="90042" id="cus90042"&gt;Coggiola&lt;/option&gt;
                &lt;option value="90043" id="cus90043"&gt;Dacia&lt;/option&gt;
                &lt;option value="90044" id="cus90044"&gt;Dadi&lt;/option&gt;
                &lt;option value="90045" id="cus90045"&gt;Daewoo&lt;/option&gt;
                &lt;option value="90046" id="cus90046"&gt;DAF&lt;/option&gt;
                &lt;option value="90047" id="cus90047"&gt;Daihatsu&lt;/option&gt;
                &lt;option value="90048" id="cus90048"&gt;Daimler&lt;/option&gt;
                &lt;option value="90049" id="cus90049"&gt;Datsun&lt;/option&gt;
                &lt;option value="90050" id="cus90050"&gt;De Tomaso&lt;/option&gt;
                &lt;option value="90051" id="cus90051"&gt;DeLorean&lt;/option&gt;
                &lt;option value="90052" id="cus90052"&gt;Derways&lt;/option&gt;
                &lt;option value="90053" id="cus90053"&gt;DeSoto&lt;/option&gt;
                &lt;option value="90054" id="cus90054"&gt;Dodge&lt;/option&gt;
                &lt;option value="90055" id="cus90055"&gt;DongFeng&lt;/option&gt;
                &lt;option value="90056" id="cus90056"&gt;Doninvest&lt;/option&gt;
                &lt;option value="90057" id="cus90057"&gt;Donkervoort&lt;/option&gt;
                &lt;option value="90058" id="cus90058"&gt;DS&lt;/option&gt;
                &lt;option value="90059" id="cus90059"&gt;E-Car&lt;/option&gt;
                &lt;option value="90060" id="cus90060"&gt;Eagle&lt;/option&gt;
                &lt;option value="90061" id="cus90061"&gt;Eagle Cars&lt;/option&gt;
                &lt;option value="90062" id="cus90062"&gt;Ecomotors&lt;/option&gt;
                &lt;option value="90063" id="cus90063"&gt;FAW&lt;/option&gt;
                &lt;option value="90064" id="cus90064"&gt;Ferrari&lt;/option&gt;
                &lt;option value="90065" id="cus90065"&gt;Fiat&lt;/option&gt;
                &lt;option value="90066" id="cus90066"&gt;Fisker&lt;/option&gt;
                &lt;option value="90067" id="cus90067"&gt;Ford&lt;/option&gt;
                &lt;option value="90068" id="cus90068"&gt;Foton&lt;/option&gt;
                &lt;option value="90069" id="cus90069"&gt;FSO&lt;/option&gt;
                &lt;option value="90070" id="cus90070"&gt;Fuqi&lt;/option&gt;
                &lt;option value="90071" id="cus90071"&gt;Geely&lt;/option&gt;
                &lt;option value="90072" id="cus90072"&gt;Geo&lt;/option&gt;
                &lt;option value="90073" id="cus90073"&gt;GMC&lt;/option&gt;
                &lt;option value="90074" id="cus90074"&gt;Gonow&lt;/option&gt;
                &lt;option value="90075" id="cus90075"&gt;Gordon&lt;/option&gt;
                &lt;option value="90076" id="cus90076"&gt;Great Wall&lt;/option&gt;
                &lt;option value="90077" id="cus90077"&gt;Hafei&lt;/option&gt;
                &lt;option value="90078" id="cus90078"&gt;Haima&lt;/option&gt;
                &lt;option value="90079" id="cus90079"&gt;Haval&lt;/option&gt;
                &lt;option value="90080" id="cus90080"&gt;Hawtai&lt;/option&gt;
                &lt;option value="90081" id="cus90081"&gt;Hindustan&lt;/option&gt;
                &lt;option value="90082" id="cus90082"&gt;Holden&lt;/option&gt;
                &lt;option value="90083" id="cus90083"&gt;Honda&lt;/option&gt;
                &lt;option value="90084" id="cus90084"&gt;HuangHai&lt;/option&gt;
                &lt;option value="90085" id="cus90085"&gt;Hummer&lt;/option&gt;
                &lt;option value="90086" id="cus90086"&gt;Hyundai&lt;/option&gt;
                &lt;option value="90087" id="cus90087"&gt;Infiniti&lt;/option&gt;
                &lt;option value="90088" id="cus90088"&gt;Innocenti&lt;/option&gt;
                &lt;option value="90089" id="cus90089"&gt;Invicta&lt;/option&gt;
                &lt;option value="90090" id="cus90090"&gt;Iran Khodro&lt;/option&gt;
                &lt;option value="90091" id="cus90091"&gt;Isdera&lt;/option&gt;
                &lt;option value="90092" id="cus90092"&gt;Isuzu&lt;/option&gt;
                &lt;option value="90093" id="cus90093"&gt;IVECO&lt;/option&gt;
                &lt;option value="90094" id="cus90094"&gt;JAC&lt;/option&gt;
                &lt;option value="90095" id="cus90095"&gt;Jaguar&lt;/option&gt;
                &lt;option value="90096" id="cus90096"&gt;Jeep&lt;/option&gt;
                &lt;option value="90097" id="cus90097"&gt;Jensen&lt;/option&gt;
                &lt;option value="90098" id="cus90098"&gt;JMC&lt;/option&gt;
                &lt;option value="90099" id="cus90099"&gt;Kia&lt;/option&gt;
                &lt;option value="90100" id="cus90100"&gt;Koenigsegg&lt;/option&gt;
                &lt;option value="90101" id="cus90101"&gt;KTM&lt;/option&gt;
                &lt;option value="90102" id="cus90102"&gt;Lamborghini&lt;/option&gt;
                &lt;option value="90103" id="cus90103"&gt;Lancia&lt;/option&gt;
                &lt;option value="90104" id="cus90104"&gt;Land Rover&lt;/option&gt;
                &lt;option value="90105" id="cus90105"&gt;Landwind&lt;/option&gt;
                &lt;option value="90106" id="cus90106"&gt;Lexus&lt;/option&gt;
                &lt;option value="90107" id="cus90107"&gt;Liebao Motor&lt;/option&gt;
                &lt;option value="90108" id="cus90108"&gt;Lifan&lt;/option&gt;
                &lt;option value="90109" id="cus90109"&gt;Lincoln&lt;/option&gt;
                &lt;option value="90110" id="cus90110"&gt;Lotus&lt;/option&gt;
                &lt;option value="90111" id="cus90111"&gt;LTI&lt;/option&gt;
                &lt;option value="90112" id="cus90112"&gt;Luxgen&lt;/option&gt;
                &lt;option value="90113" id="cus90113"&gt;Mahindra&lt;/option&gt;
                &lt;option value="90114" id="cus90114"&gt;Marcos&lt;/option&gt;
                &lt;option value="90115" id="cus90115"&gt;Marlin&lt;/option&gt;
                &lt;option value="90116" id="cus90116"&gt;Marussia&lt;/option&gt;
                &lt;option value="90117" id="cus90117"&gt;Maruti&lt;/option&gt;
                &lt;option value="90118" id="cus90118"&gt;Maserati&lt;/option&gt;
                &lt;option value="90119" id="cus90119"&gt;Maybach&lt;/option&gt;
                &lt;option value="90120" id="cus90120"&gt;Mazda&lt;/option&gt;
                &lt;option value="90121" id="cus90121"&gt;McLaren&lt;/option&gt;
                &lt;option value="90122" id="cus90122"&gt;Mega&lt;/option&gt;
                &lt;option value="90123" id="cus90123"&gt;Mercedes-Benz&lt;/option&gt;
                &lt;option value="90124" id="cus90124"&gt;Mercury&lt;/option&gt;
                &lt;option value="90125" id="cus90125"&gt;Metrocab&lt;/option&gt;
                &lt;option value="90126" id="cus90126"&gt;MG&lt;/option&gt;
                &lt;option value="90127" id="cus90127"&gt;Microcar&lt;/option&gt;
                &lt;option value="90128" id="cus90128"&gt;Minelli&lt;/option&gt;
                &lt;option value="90129" id="cus90129"&gt;MINI&lt;/option&gt;
                &lt;option value="90130" id="cus90130"&gt;Mitsubishi&lt;/option&gt;
                &lt;option value="90131" id="cus90131"&gt;Mitsuoka&lt;/option&gt;
                &lt;option value="90132" id="cus90132"&gt;Morgan&lt;/option&gt;
                &lt;option value="90133" id="cus90133"&gt;Morris&lt;/option&gt;
                &lt;option value="90134" id="cus90134"&gt;Nissan&lt;/option&gt;
                &lt;option value="90135" id="cus90135"&gt;Noble&lt;/option&gt;
                &lt;option value="90136" id="cus90136"&gt;Oldsmobile&lt;/option&gt;
                &lt;option value="90137" id="cus90137"&gt;Opel&lt;/option&gt;
                &lt;option value="90138" id="cus90138"&gt;Osca&lt;/option&gt;
                &lt;option value="90139" id="cus90139"&gt;Packard&lt;/option&gt;
                &lt;option value="90140" id="cus90140"&gt;Pagani&lt;/option&gt;
                &lt;option value="90141" id="cus90141"&gt;Panoz&lt;/option&gt;
                &lt;option value="90142" id="cus90142"&gt;Perodua&lt;/option&gt;
                &lt;option value="90143" id="cus90143"&gt;Peugeot&lt;/option&gt;
                &lt;option value="90144" id="cus90144"&gt;PGO&lt;/option&gt;
                &lt;option value="90145" id="cus90145"&gt;Piaggio&lt;/option&gt;
                &lt;option value="90146" id="cus90146"&gt;Plymouth&lt;/option&gt;
                &lt;option value="90147" id="cus90147"&gt;Pontiac&lt;/option&gt;
                &lt;option value="90148" id="cus90148"&gt;Porsche&lt;/option&gt;
                &lt;option value="90149" id="cus90149"&gt;Premier&lt;/option&gt;
                &lt;option value="90150" id="cus90150"&gt;Proton&lt;/option&gt;
                &lt;option value="90151" id="cus90151"&gt;PUCH&lt;/option&gt;
                &lt;option value="90152" id="cus90152"&gt;Puma&lt;/option&gt;
                &lt;option value="90153" id="cus90153"&gt;Qoros&lt;/option&gt;
                &lt;option value="90154" id="cus90154"&gt;Qvale&lt;/option&gt;
                &lt;option value="90155" id="cus90155"&gt;Ravon&lt;/option&gt;
                &lt;option value="90156" id="cus90156"&gt;Reliant&lt;/option&gt;
                &lt;option value="90157" id="cus90157"&gt;Renaissance&lt;/option&gt;
                &lt;option value="90158" id="cus90158"&gt;Renault&lt;/option&gt;
                &lt;option value="90160" id="cus90160"&gt;Rezvani&lt;/option&gt;
                &lt;option value="90161" id="cus90161"&gt;Rimac&lt;/option&gt;
                &lt;option value="90162" id="cus90162"&gt;Rolls-Royce&lt;/option&gt;
                &lt;option value="90163" id="cus90163"&gt;Ronart&lt;/option&gt;
                &lt;option value="90164" id="cus90164"&gt;Rover&lt;/option&gt;
                &lt;option value="90165" id="cus90165"&gt;Saab&lt;/option&gt;
                &lt;option value="90166" id="cus90166"&gt;Saleen&lt;/option&gt;
                &lt;option value="90167" id="cus90167"&gt;Santana&lt;/option&gt;
                &lt;option value="90168" id="cus90168"&gt;Saturn&lt;/option&gt;
                &lt;option value="90169" id="cus90169"&gt;Renault Samsung&lt;/option&gt;
                &lt;option value="90170" id="cus90170"&gt;SEAT&lt;/option&gt;
                &lt;option value="90171" id="cus90171"&gt;ShuangHuan&lt;/option&gt;
                &lt;option value="90172" id="cus90172"&gt;Skoda&lt;/option&gt;
                &lt;option value="90173" id="cus90173"&gt;Smart&lt;/option&gt;
                &lt;option value="90174" id="cus90174"&gt;Soueast&lt;/option&gt;
                &lt;option value="90175" id="cus90175"&gt;Spectre&lt;/option&gt;
                &lt;option value="90176" id="cus90176"&gt;Spyker&lt;/option&gt;
                &lt;option value="90177" id="cus90177"&gt;SsangYong&lt;/option&gt;
                &lt;option value="90178" id="cus90178"&gt;Subaru&lt;/option&gt;
                &lt;option value="90179" id="cus90179"&gt;Suzuki&lt;/option&gt;
                &lt;option value="90180" id="cus90180"&gt;Talbot&lt;/option&gt;
                &lt;option value="90181" id="cus90181"&gt;TATA&lt;/option&gt;
                &lt;option value="90182" id="cus90182"&gt;Tatra&lt;/option&gt;
                &lt;option value="90183" id="cus90183"&gt;Tazzari&lt;/option&gt;
                &lt;option value="90184" id="cus90184"&gt;Tesla&lt;/option&gt;
                &lt;option value="90185" id="cus90185"&gt;Tianma&lt;/option&gt;
                &lt;option value="90186" id="cus90186"&gt;Tianye&lt;/option&gt;
                &lt;option value="90187" id="cus90187"&gt;Tofas&lt;/option&gt;
                &lt;option value="90188" id="cus90188"&gt;Toyota&lt;/option&gt;
                &lt;option value="90189" id="cus90189"&gt;Trabant&lt;/option&gt;
                &lt;option value="90190" id="cus90190"&gt;Tramontana&lt;/option&gt;
                &lt;option value="90191" id="cus90191"&gt;Triumph&lt;/option&gt;
                &lt;option value="90192" id="cus90192"&gt;TVR&lt;/option&gt;
                &lt;option value="90193" id="cus90193"&gt;Ultima&lt;/option&gt;
                &lt;option value="90194" id="cus90194"&gt;Vauxhall&lt;/option&gt;
                &lt;option value="90195" id="cus90195"&gt;Vector&lt;/option&gt;
                &lt;option value="90196" id="cus90196"&gt;Venturi&lt;/option&gt;
                &lt;option value="90197" id="cus90197"&gt;Volkswagen&lt;/option&gt;
                &lt;option value="90198" id="cus90198"&gt;Volvo&lt;/option&gt;
                &lt;option value="90199" id="cus90199"&gt;Vortex&lt;/option&gt;
                &lt;option value="90200" id="cus90200"&gt;W Motors&lt;/option&gt;
                &lt;option value="90201" id="cus90201"&gt;Wartburg&lt;/option&gt;
                &lt;option value="90202" id="cus90202"&gt;Westfield&lt;/option&gt;
                &lt;option value="90203" id="cus90203"&gt;Wiesmann&lt;/option&gt;
                &lt;option value="90204" id="cus90204"&gt;Willys&lt;/option&gt;
                &lt;option value="90205" id="cus90205"&gt;Xin Kai&lt;/option&gt;
                &lt;option value="90206" id="cus90206"&gt;Zastava&lt;/option&gt;
                &lt;option value="90207" id="cus90207"&gt;Zenos&lt;/option&gt;
                &lt;option value="90208" id="cus90208"&gt;Zenvo&lt;/option&gt;
                &lt;option value="90209" id="cus90209"&gt;Zotye&lt;/option&gt;
                &lt;option value="90210" id="cus90210"&gt;ZX&lt;/option&gt;
                &lt;option value="90211" id="cus90211"&gt;Avtokam&lt;/option&gt;
                &lt;option value="90212" id="cus90212"&gt;Astro&lt;/option&gt;
                &lt;option value="90213" id="cus90213"&gt;Bronto&lt;/option&gt;
                &lt;option value="90214" id="cus90214"&gt;VAZ (Lada)&lt;/option&gt;
                &lt;option value="90215" id="cus90215"&gt;QAZ&lt;/option&gt;
                &lt;option value="90216" id="cus90216"&gt;YO-Mobil&lt;/option&gt;
                &lt;option value="90217" id="cus90217"&gt;ZAZ&lt;/option&gt;
                &lt;option value="90218" id="cus90218"&gt;ZİL&lt;/option&gt;
                &lt;option value="90219" id="cus90219"&gt;ZİS&lt;/option&gt;
                &lt;option value="90220" id="cus90220"&gt;İJ&lt;/option&gt;
                &lt;option value="90221" id="cus90221"&gt;KaMaz&lt;/option&gt;
                &lt;option value="90222" id="cus90222"&gt;Kanonir&lt;/option&gt;
                &lt;option value="90223" id="cus90223"&gt;Kombat&lt;/option&gt;
                &lt;option value="90224" id="cus90224"&gt;LuAZ&lt;/option&gt;
                &lt;option value="90225" id="cus90225"&gt;Moskviç&lt;/option&gt;
                &lt;option value="90226" id="cus90226"&gt;SeAZ&lt;/option&gt;
                &lt;option value="90227" id="cus90227"&gt;SMZ&lt;/option&gt;
                &lt;option value="90228" id="cus90228"&gt;TaqAZ&lt;/option&gt;
                &lt;option value="90229" id="cus90229"&gt;UAZ&lt;/option&gt;
                &lt;option value="90230" id="cus90230"&gt;Eksklyuziv&lt;/option&gt;
              &lt;/select&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div id="bdM5"&gt;
          &lt;div id="car_model"&gt;
            &lt;select id="car_model_id"&gt;
              &lt;option value="0"&gt;Model: Seçin&lt;/option&gt;
              &lt;option value="10001"&gt;378 GT Zagato&lt;/option&gt;
              &lt;option value="10002"&gt;ACE&lt;/option&gt;
              &lt;option value="10003"&gt;Aceca&lt;/option&gt;
              &lt;option value="10004"&gt;Cobra&lt;/option&gt;
              &lt;option value="10001"&gt;378 GT Zagato&lt;/option&gt;
              &lt;option value="10002"&gt;ACE&lt;/option&gt;
              &lt;option value="10003"&gt;Aceca&lt;/option&gt;
              &lt;option value="10004"&gt;Cobra&lt;/option&gt;
            &lt;/select&gt;
          &lt;/div&gt;
          &lt;input value="378 GT Zagato " type="button" id="bdF1" name="title"&gt;
        &lt;/div&gt;
        
        &lt;input type="hidden" name="a" value="12"&gt;
        &lt;input type="hidden" name="ssid" value="Yats5PDJ"&gt;
        &lt;input type="hidden" id="numi" value="1"&gt;
      &lt;/div&gt;
    

    </div>
    <script type="text/javascript">
    $("select#car_model_id").change(
    function() {
    var str = "";
    $("select#car_model_id option:selected").each(
    function() {
    str += $(this).text() + " ";
    });
    $("input#bdF1").val(str);
    }).change();
    </script>
    <script type="text/javascript">
    $("select.car_Marka")
    .on("change",
    function() {
    var selected_option =
    $("select.car_Marka option:selected");
    $("input.catSelector9")
    .attr("id", selected_option.attr("id"))
    .attr("value", selected_option.attr("value"));
    });
    </script>

    </div>

    </div></form>
    <div id="bdM65">
    <div class="manTdBut" id="bdM66">

    </div>
    </div>
    <input type="hidden" name="a" value="12">
    <input type="hidden" name="ssid" value="Yats5PDJ">
    <input type="hidden" id="numi" value="1">
    </div>

    </div>



  • The point is, the marking in shape is fully dynamic and at the beginning, while in the first place. select'It's not chosen, the others don't even have attributes. id and classto attach the necessary processors. Not to mention the data.

    If in some way, catch the data point and perform this function:

    function test()
    {   
      $("select#car_model_id").change(
        function() {
          var str = "";
          $("select#car_model_id option:selected").each(
            function() {
              str += $(this).text() + " ";
            });
          $("input#bdF1").val(str);
        }).change();
      $("select.car_Marka")
        .on("change",
          function() {
            var selected_option =
              $("select.car_Marka option:selected");
            $("input.catSelector9")
              .attr("id", selected_option.attr("id"))
              .attr("value", selected_option.attr("value"));
          }); 
    }
    

    It's starting to work perfectly. For example, the processors when downloading data can be attached as follows.

        $("document").ready(function(){
               $("#ad-car-detail-content").one("change",function(){
                  test();
                  document.getElementById("car_mark").setAttribute("onchange","test()");       
               });  
            });
    

    Of course, this decision, it's in its essence "coast," but at least it can solve the problem with the type you're using.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2