Tani hosting

AngularJS pobieranie wartości filtra :)
Lindsey Offline
Lindsey Stirling

Liczba postów: 62
Reputacja: 2
Post: #1
AngularJS pobieranie wartości filtra :) 11-09-2016 08:57
Cześć, potrzebuję zrobić filtrowanie produktów w aplikacji na angularze, ogólnie to jest zrobione i działa jednak filtry mam wprowadzane ręcznie a chciałbym aby były pobierane automatycznie z listy dostępnych produktów.

Mam zapytanie get i dostaję dane w .json
Kod:
0:{id: 23, name: "Zasilacz SAGEMCOM MSP-Z5000IC12.0-60W",…}
amper:5bateria:nullcategory:"2"description:"<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; text-align: center;"><span style="color: #0000ff; font-family: Verdana, sans-serif; font-size: 26.6667px; line-height: normal; text-align: start;">Oryginalny wysokiej jakości zasilacz impulsowy SAGEMCOM</span></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; text-align: center;">&nbsp;</p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; text-align: center;"><span style="font-size: 12pt;"><span style="color: #0000ff;"><span style="font-size: 14pt;">Używany w bardzo dobrym stanie - 100% sprawny</span></span><span style="font-size: 14pt;"><span style="line-height: 20.0315px;">&nbsp;/&nbsp;</span><span style="color: #ff0000;">ROK gwarancji</span><span style="line-height: 20.0315px;">&nbsp;/ Faktura VAT 23% /&nbsp;</span><span style="color: #008000;">Szybka wysyłka /<span style="color: #0000ff;">&nbsp;kabel zasilający w komplecie</span></span></span></span></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; text-align: center;"><img style="border: none; font-size: 13.3333px; line-height: 20.0315px;" src="http://lapkom24-1.strefa.pl/foto/ZASILACZE/pm/12v_sagemcom/12v_5a_msp-z5000ic12.0-60w-u/0.JPG" alt="" /></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; text-align: center;">&nbsp;</p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; padding-left: 480px;"><span style="font-family: Verdana, sans-serif; font-size: large; line-height: normal;">Parametry zasilacza:</span></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; padding-left: 480px;"><span style="font-weight: bold; font-size: 13.3333px; line-height: 20.0315px;"><span style="font-family: Verdana, sans-serif; font-size: large; font-weight: normal; line-height: normal;"><span style="color: #0000ff;">MARKA: SAGEMCOM</span></span></span></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; padding-left: 480px;"><span style="font-weight: bold; font-size: 13.3333px; line-height: 20.0315px;"><span style="font-family: Verdana, sans-serif; font-size: large; font-weight: normal; line-height: normal;"><span style="color: #0000ff;">MODEL: MSP-Z5000IC12.0-60W</span></span></span></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; padding-left: 480px;"><span style="font-weight: bold; font-size: 13.3333px; line-height: 20.0315px;"><span style="font-family: Verdana, sans-serif; font-size: large; font-weight: normal; line-height: normal;"><span style="color: #0000ff;">INPUT: 100-240V ~ 50/60Hz 1.5Amax</span></span></span></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; padding-left: 480px;"><span style="font-weight: bold; font-size: 13.3333px; line-height: 20.0315px;"><span style="font-family: Verdana, sans-serif; font-size: large; font-weight: normal; line-height: normal;"><span style="color: #0000ff;">OUTPUT: 12V 5A</span></span></span></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; padding-left: 480px;"><span style="font-weight: bold; font-size: 13.3333px; line-height: 20.0315px;"><span style="font-family: Verdana, sans-serif; font-size: large; font-weight: normal; line-height: normal;"><span style="color: #0000ff;">MOC: 60W</span></span></span></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; padding-left: 480px;"><span style="font-weight: bold; font-size: 13.3333px; line-height: 20.0315px;"><span style="font-family: Verdana, sans-serif; font-size: large; font-weight: normal; line-height: normal;"><span style="color: #0000ff;">WTYCZKA: 5.5x2.5 mm / długość wtyczki 10 mm</span></span></span></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; padding-left: 480px;"><span style="font-weight: bold; font-size: 13.3333px; line-height: 20.0315px;"><span style="font-family: Verdana, sans-serif; font-size: large; font-weight: normal; line-height: normal;"><span style="color: #0000ff;">WYMIARY: 11x5.7x3.5 cm, długość kabla 200 cm (kabel posiada filtr pr….42cm; text-align: center;"><span style="color: #008000;"><span style="font-weight: bold; font-size: 13.3333px; line-height: 20.0315px;"><span style="font-family: Verdana, sans-serif; font-size: large; font-weight: normal; line-height: normal; text-align: start;">Na sprzedawane zasilacze udzielamy&nbsp;<span style="font-weight: bold;">ROK</span>&nbsp;gwarancji / rękojmi</span></span></span></p>↵<p style="margin-top: 0px; margin-bottom: 0.08cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.42cm; text-align: center;"><span style="color: #008000;">&nbsp;</span></p>↵<p style="margin-top: 0px; margin-bottom: 0.08cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.42cm; text-align: center;"><span style="color: #008000;"><span style="font-weight: bold; font-size: 13.3333px; line-height: 20.0315px;"><span style="font-family: Verdana, sans-serif; font-size: large; font-weight: normal; line-height: normal; text-align: start;"><span style="font-weight: bold; font-size: 13.3333px; line-height: 20.0315px;"><span style="font-size: large; font-weight: normal; line-height: normal;">Podane ceny są cenami brutto i zawierają podatek VAT.</span></span><br /></span></span></span></p>↵<p style="margin-top: 0px; margin-bottom: 0.08cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.42cm; text-align: center;"><span style="color: #008000;"><span style="font-weight: bold; font-size: 13.3333px; line-height: 20.0315px;"><span style="font-family: Verdana, sans-serif; font-size: large; font-weight: normal; line-height: normal; text-align: start;">Faktury wystawiamy na życzenie kupującego.</span></span></span></p>↵<p style="margin-top: 0px; margin-bottom: 0.08cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.42cm; text-align: center;">&nbsp;</p>↵<p style="margin-top: 0px; margin-bottom: 0.08cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.42cm; text-align: center;"><span style="color: #008000; font-size: 13.3333px; line-height: 15.874px;">&nbsp;</span></p>↵<p style="margin-top: 0px; margin-bottom: 0.08cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.42cm; text-align: center;"><span style="color: #0000ff;"><span style="font-weight: bold; font-size: 13.3333px; line-height: 20.0315px;"><span style="font-size: 13.3333px; line-height: 20.0315px;"><span style="font-size: 13.3333px; line-height: 20.0315px;"><span style="font-family: Verdana, sans-serif; font-size: large; font-weight: normal; line-height: normal; text-align: start;">Przy zakupie w pakiecie 60 sztuk tych zasilaczy na innej naszej aukcji, i wpłacie na konto wysyłka gratis.</span></span></span></span></span></p>↵<p style="margin-top: 0px; margin-bottom: 0.08cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.42cm; text-align: center;">&nbsp;</p>↵<p style="margin-top: 0px; margin-bottom: 0.08cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.42cm; text-align: center;">&nbsp;</p>↵<p style="margin-top: 0px; margin-bottom: 0.08cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.42cm; text-align: center;"><span style="font-family: Verdana, sans-serif; font-size: large; line-height: normal; text-align: start;">Zdjęcia sprzedawanych zasilaczy:</span></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; text-align: center;"><img style="border: none; font-size: 13.3333px; line-height: 20.0315px;" src="http://lapkom24-1.strefa.pl/foto/ZASILACZE/pm/12v_sagemcom/12v_5a_msp-z5000ic12.0-60w-u/1.JPG" alt="" /></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; text-align: center;">&nbsp;<img style="border: none; font-size: 13.3333px; line-height: 20.0315px;" src="http://lapkom24-1.strefa.pl/foto/ZASILACZE/pm/12v_sagemcom/12v_5a_msp-z5000ic12.0-60w-u/2.JPG" alt="" /></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; text-align: center;"><img style="border: none; font-size: 13.3333px; line-height: 20.0315px;" src="http://lapkom24-1.strefa.pl/foto/ZASILACZE/pm/12v_sagemcom/12v_5a_msp-z5000ic12.0-60w-u/3.JPG" alt="" /></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; text-align: center;"><img style="border: none; font-size: 13.3333px; line-height: 20.0315px;" src="http://lapkom24-1.strefa.pl/foto/ZASILACZE/pm/12v_sagemcom/12v_5a_msp-z5000ic12.0-60w-u/4.JPG" alt="" /></p>↵<p style="margin-top: 0.03cm; margin-bottom: 0.05cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 0.53cm; text-align: center;">&nbsp;&nbsp;</p>"dodatkowe_info:"Pasują do LED, TV, LCD"dost:"Dostępny"dysk:nullgrafika:nullgwr:"12 miesięcy"id:23kabel:"W zestawie"klawiatura:nullkomunikacja:nullmatryca:nullmoc:60name:"Zasilacz SAGEMCOM MSP-Z5000IC12.0-60W"naped:nullnapiecie:12number:"L2341"porty:nullprice:15procesor:nullproducent:nullram:nullstan:"Używane, 100% sprawne."system:nullthumb:"0.JPG"wtyk:"5.5 x 2.5 mm"zasilacz:null
1:{id: 21, name: "Laptopy DELL, HP, LENOVO",…}
amper:nullbateria:nullcategory:"1"description:"<p>&nbsp;</p>↵<p><span style="font-size: 12pt;"><strong>&nbsp;Laptopy od 120 zł bruto.</strong></span></p>↵<p><span style="font-size: 12pt;">Klasa ( A/A-) 3 miesiące gwarancji.</span></p>↵<p><span style="font-size: 12pt;">Klasa ( B-) 14 dni gwarancji.</span></p>↵<p><span style="font-size: 12pt;">Klasa ( C/D)&nbsp;Gwarancji nie udzielamy.</span></p>↵<p>&nbsp;</p>↵<p><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"><strong>&nbsp;LEGENDA:</strong></span></p>↵<p><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">BT - Bluetooth</span></p>↵<p><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">KAM - kamerka</span></p>↵<p><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">PK - podświelana klawiatura</span></p>↵<p>&nbsp;</p>↵<p>&nbsp;</p>↵<p>&nbsp;</p>↵<p>&nbsp;</p>↵<table border="0" frame="VOID" rules="NONE" cellspacing="0"><colgroup><col width="114" /><col width="59" /><col width="204" /><col width="111" /><col width="48" /><col width="44" /><col width="479" /><col width="50" /><col width="50" /><col width="29" /><col width="523" /></colgroup>↵<tbody>↵<tr>↵<td style="border: 1px solid #000000;" align="CENTER" bgcolor="#3DEB3D" width="114" height="41"><strong><span style="font-family: Calibri; font-size: medium;">CENA<br />Brutto</span></strong></td>↵<td style="border: 1px solid #000000;" align="CENTER" bgcolor="#00FFFF" width="59"><span style="font-family: Calibri;">NR.<br />LAPTOPA</span></td>↵<td style="border: 1px solid #000000;" align="LEFT" bgcolor="#00FFFF" width="204"><strong><span style="font-family: Calibri; font-size: large;">Marka / model</span></strong></td>↵<td style="border: 1px solid #000000;" align="CENTER" bgcolor="#00FFFF" width="111"><strong><span style="font-family: Calibri; font-size: medium;">PROCESOR</span></strong></td>↵<td style="border: 1px solid #000000;" align="CENTER" bgcolor="#00FFFF" width="48"><strong><span style="font-family: Calibri; font-size: medium;">RAM<br />(GB)</span></strong></td>↵<td style="border: 1px solid #000000;" align="CENTER" bgcolor="#00FFFF" width="44"><strong><span style="font-family: Calibri; font-size: medium;">HDD<br />(GB)</span></strong></td>↵<td style="border: 1px solid #000000;" align="LEFT" bgcolor="#00FFFF" width="479"><strong><span style="font-family: Calibri; font-size: medium;">LCD / GPU / &hellip;.. / COA</span></strong></td>↵<td style="border: 1px solid #000000;" align="LEFT" bgcolor="#00FFFF" width="50"><strong><span style="font-family: Calibri; font-size: medium;">BATE-<br />RIA</span></strong></td>↵<td style="border: 1px solid #000000;" align="LEFT" bgcolor="#00FFFF" width="50"><strong><span style="font-family: Calibri; font-size: medium;">ZASI-<br />LACZ</span></strong></td>↵<td style="border: 1px solid #000000;" align="CENTER" bgcolor="#00FFFF" width="29"><strong><span style="font-family: Calibri; font-size: medium;">KLASA</span></strong></td>↵<td style="border: 1px solid #000000;" align="LEFT" bgcolor="#00FFFF" width="523"><strong><span style="font-family: Calibri; font-size: medium;">UWAGI / BRAKI / OPIS</span></strong></td>↵</tr>↵<tr>↵<td style="border: 1px solid #000000;" align="LEFT" height="20"><strong><em><span style="font-family: Calibri; font-size: medium;">&nbsp;</span></em></strong></td>↵<td style="border: 1px solid #000000;" align="CENTER"><strong><span style="font-family: Calibri; font-size: medium;">&nbsp;</span></strong></td>↵<td style="border: 1px solid #000000;" align="LEFT"><strong><span style="font-family: Calibri; font-size: medium;">&nbsp;</span></strong></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><strong><span style="font-family: Calibri; font-size: medium;">&nbsp;</span></strong></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><strong><span style="font-family: Calibri; font-size: medium;">&nbsp;</span></strong></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><strong><span style="font-family: Calibri; font-size: medium;">&nbsp;</span></strong></td>↵<td style="border: 1px solid #000000;" align="LEFT"><strong><span style="font-family: Calibri; font-size: medium;">&nbsp;</span></strong></td>↵<td style="border: 1px solid #000000;" align="LEFT"><strong><span style="font-family: Calibri; font-size: medium;">&nbsp;</span></strong></td>↵<td style="border: 1px solid #000000;" align="LEFT"><strong><span style="font-family: Calibri; font-size: medium;">&nbsp;</span></strong></td>↵<td style="border: 1px solid #000000;" align="CENTER"><strong><span style="font-family: Calibri; font-size: medium;">&nbsp;</span></strong></td>↵<td style="border: 1px solid #000000;" align="LEFT"><strong><span style="font-family: Calibri; font-size: medium;">&nbsp;</span></strong></td>↵</tr>↵<tr>↵<td style="border: 1px solid #000000;" align="RIGHT" valign="TOP" bgcolor="#CCFF99" height="30"><span style="color: #0000ff; font-family: Calibri;">1&nbsp;200,00 zł</span></td>↵<td style="border: …gn="LEFT" valign="MIDDLE"><span style="color: #0000ff; font-family: Calibri;">Drobne ryski/wytarcia na klapie matrycy</span></td>↵</tr>↵<tr>↵<td style="border: 1px solid #000000;" align="RIGHT" valign="MIDDLE" height="17"><span style="color: #000000; font-family: Calibri;">120,00 zł</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="MIDDLE" bgcolor="#FFFFFF"><span style="color: #000000; font-family: Calibri;">L1188</span></td>↵<td style="border: 1px solid #000000;" align="LEFT" valign="MIDDLE"><span style="color: #000000; font-family: Calibri;">Dell Latitude E6420</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><span style="color: #000000; font-family: Calibri;">brak</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><span style="color: #000000; font-family: Calibri;">brak</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><span style="color: #000000; font-family: Calibri;">brak</span></td>↵<td style="border: 1px solid #000000;" align="LEFT" valign="MIDDLE"><span style="color: #000000; font-family: Calibri;">&nbsp;</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="MIDDLE"><span style="color: #000000; font-family: Calibri;">brak</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="MIDDLE"><span style="color: #000000; font-family: Calibri;">brak</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="MIDDLE"><span style="color: #000000; font-family: Calibri;">D</span></td>↵<td style="border: 1px solid #000000;" align="LEFT" valign="MIDDLE"><span style="color: #000000; font-family: Calibri;">Duże braki. W komplecie sama obudowa.</span></td>↵</tr>↵<tr>↵<td style="border: 1px solid #000000;" align="RIGHT" valign="TOP" height="30"><span style="color: #000000; font-family: Calibri;">45,00 zł</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP" bgcolor="#FFFFFF"><span style="color: #000000; font-family: Calibri;">L1197</span></td>↵<td style="border: 1px solid #000000;" align="LEFT" valign="TOP"><span style="color: #000000; font-family: Calibri;">HP Compaq 2710p </span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><span style="color: #000000; font-family: Calibri;">C2D U7600 1.20GHz</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><span style="color: #000000; font-family: Calibri;">1</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><span style="color: #000000; font-family: Calibri;">brak</span></td>↵<td style="border: 1px solid #000000;" align="LEFT" valign="TOP"><span style="color: #000000; font-family: Calibri;">12.1&rdquo; / WiFi, kamerka</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><span style="color: #000000; font-family: Calibri;">jest</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><span style="color: #000000; font-family: Calibri;">brak</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><span style="color: #000000; font-family: Calibri;">B</span></td>↵<td style="border: 1px solid #000000;" align="LEFT" valign="TOP"><span style="color: #000000; font-family: Calibri;">ubytki w obudowie.</span></td>↵</tr>↵<tr>↵<td style="border: 1px solid #000000;" align="CENTER" valign="MIDDLE" bgcolor="#FFFF66" height="17"><span style="color: #0000ff; font-family: Calibri;">750,00 zł</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="MIDDLE"><span style="color: #0000ff; font-family: Calibri;">L1144</span></td>↵<td style="border: 1px solid #000000;" align="LEFT" valign="MIDDLE"><span style="color: #0000ff; font-family: Calibri;">Lenovo ThinkPad T410</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><span style="color: #0000ff; font-family: Calibri;">Core i5-520M 2.40GHz</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><span style="color: #0000ff; font-family: Calibri;">4</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="TOP"><span style="color: #0000ff; font-family: Calibri;">320</span></td>↵<td style="border: 1px solid #000000;" align="LEFT" valign="MIDDLE"><span style="color: #0000ff; font-family: Calibri;">14.1&rdquo; 1440x900 / Intel HD / WiFi, BT, DVD-RW, kamerka / W7P</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="MIDDLE"><span style="color: #0000ff; font-family: Calibri;">55%</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="MIDDLE"><span style="color: #0000ff; font-family: Calibri;">jest</span></td>↵<td style="border: 1px solid #000000;" align="CENTER" valign="MIDDLE"><span style="color: #0000ff; font-family: Calibri;">A</span></td>↵<td style="border: 1px solid #000000;" align="LEFT" valign="MIDDLE"><span style="color: #0000ff; font-family: Calibri;">&nbsp;</span></td>↵</tr>↵</tbody>↵</table>"dodatkowe_info:nulldost:"Dostępny"dysk:"0- 500 GB"grafika:"Intel, ATI"gwr:"14 - 90 dni"id:21kabel:nullklawiatura:nullkomunikacja:"WiFi, Bluetooth, 3G GSM, GPS, LAN"matryca:"12.1 - 15.6""moc:nullname:"Laptopy DELL, HP, LENOVO"naped:"DVD-RW"napiecie:nullnumber:"OC624H"porty:"Kamerka, HDMI, Display-Port, USB 2.0, USB 3.0, Podświetlane klawiatury."price:"120 zł"procesor:"Core 2 Duo , Core i5, Core i7"producent:nullram:"0 - 8GB"stan:"Używane, sprawne i do naprawy"system:"Brak, Windows Vista, Windows 7"thumb:"Lenovo IBM ikona - Kopia.jpg"wtyk:nullzasilacz:null
2:{id: 20, name: "DELL Latitude E5430",…}
amper:nullbateria:"Sprawna"category:"1"description:"<p lang="pl-PL" style="box-sizing: inherit; margin: 0px 0px 0cm; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;"><span style="box-sizing: inherit; font-size: 14pt;"><span style="box-sizing: inherit; color: #0000ff;"><span style="box-sizing: inherit; font-family: Calibri, sans-serif;"><span style="box-sizing: inherit; font-size: xx-large;">100% sprawny</span></span></span></span></p>↵<p lang="pl-PL" style="box-sizing: inherit; margin: 0px 0px 0cm; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;">&nbsp;</p>↵<p lang="pl-PL" style="box-sizing: inherit; margin: 0px 0px 0cm; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;"><span style="box-sizing: inherit; font-size: 14pt;"><span style="box-sizing: inherit; color: #0000ff;"><span style="box-sizing: inherit; font-family: Calibri, sans-serif;"><span style="box-sizing: inherit; font-size: xx-large;">Klasa A/A-</span></span></span></span></p>↵<p lang="pl-PL" style="box-sizing: inherit; margin: 0px 0px 0cm; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;">&nbsp;</p>↵<p lang="pl-PL" style="box-sizing: inherit; margin: 0px 0px 0cm; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;">&nbsp;</p>↵<p lang="pl-PL" style="box-sizing: inherit; margin: 0px 0px 0cm; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;"><span style="box-sizing: inherit; font-size: 14pt;"><span style="box-sizing: inherit; color: #0000ff;"><span style="box-sizing: inherit; font-family: Calibri, sans-serif;"><span style="box-sizing: inherit; font-size: xx-large;">Gwarancja 3 miesiące *</span></span></span></span></p>↵<p lang="pl-PL" style="box-sizing: inherit; margin: 0px 0px 0cm; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;">&nbsp;</p>↵<p lang="pl-PL" style="box-sizing: inherit; margin: 0px 0px 0cm; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;"><span style="box-sizing: inherit; color: #0000ff; font-size: 13.3333px;">* Jak&nbsp;zawsze&nbsp;nie&nbsp;udzielamy&nbsp;gwarancji na baterię.</span></p>↵<p lang="pl-PL" style="box-sizing: inherit; margin: 0px 0px 0cm; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;"><span style="box-sizing: inherit; color: #0000ff;">&nbsp;Możliwość&nbsp;rozbudowy za&nbsp;dopłatą pamięci RAM do 8GB.</span></p>↵<p lang="pl-PL" style="box-sizing: inherit; margin: 0px 0px 0cm; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;"><span style="box-sizing: inherit; color: #0000ff;">&nbsp;Możliwość wymiany dysku HDD na SSD.</span></p>↵<p lang="pl-PL" style="box-sizing: inherit; margin: 0px 0px 0cm; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;">&nbsp;</p>↵<p lang="pl-PL" style="box-sizing: inherit; margin: 0px 0px 0cm; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;">&nbsp;</p>↵<center style="box-sizing: inherit; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px;"></center><center style="box-sizing: inherit; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px;"></center>↵<p style="box-sizing: inherit; margin: 0px 0px 3px; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; text-align: center;"><span style="box-sizing: inherit; font-size: 14pt;">Dodatkowe informacje</span></p>↵<p style="box-sizing: inherit; margin: 0px 0px 3px; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; padding-left: 120px;"><span style="box-sizing: inherit; font-size: 12pt;">- Podane ceny są cenami brutto i zawierają&nbsp;<span style="box-sizing: inherit; font-weight: bold;">23% podatku VAT</span>.</span></p>↵<p style="box-sizing: inherit; margin: 0px 0px 3px; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; padding-left: 120px;"><span style="box-sizing: inherit; font-size: 12pt;">- Faktury VAT wystawiamy na życzenie kupującego.</span></p>↵<p style="box-sizing: inherit; margin: 0px 0px 3px; line-height: 16.6667px; color: rgba(0, 0, 0, 0.870588); font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; padding-left: 120px;"><span style="box-sizing: inherit; font-size: 12pt;">- Zdjęcia zamieszczone na aukcji są naszego autorstwa i przedstawiają sprzedawane laptopy. Nie są to zdjęcia poglądowe pobrane z internetu.</span></p>"dodatkowe_info:nulldost:"Dostępny"dysk:"500GB 7200RPM"grafika:"Intel HD 4000"gwr:"3 miesiące"id:20kabel:nullklawiatura:nullkomunikacja:"WiFi, Bluetooth, LAN"matryca:"14.1" HD+ 1600x900"moc:nullname:"DELL Latitude E5430"naped:"DVD-RW"napiecie:nullnumber:"E5GP45"porty:"USB 3.0, HDMI, czytnik kart SD, kamerka internetowa."price:980procesor:"Intel Core i5-3340M 2.70GHz (3.40GHz w trybie turbo)"producent:nullram:"4GB"stan:"Używany, 100% sprawny."system:"Windows 7 Professional."thumb:"1.JPG"wtyk:nullzasilacz:"W komplecie"
3:{id: 19, name: "HP ElieBook 2570p",…}
amper:nullbateria:"Około 5-8 godz."category:"1"description:"<p lang="pl-PL" style="margin-top: 0px; margin-bottom: 0cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;"><span style="font-size: 14pt;"><span style="color: #0000ff;"><span style="font-family: Calibri, sans-serif;"><span style="font-size: xx-large;">100% sprawny</span></span></span></span></p>↵<p lang="pl-PL" style="margin-top: 0px; margin-bottom: 0cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;">&nbsp;</p>↵<p lang="pl-PL" style="margin-top: 0px; margin-bottom: 0cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;"><span style="font-size: 14pt;"><span style="color: #0000ff;"><span style="font-family: Calibri, sans-serif;"><span style="font-size: xx-large;">Klasa A-</span></span></span></span></p>↵<p lang="pl-PL" style="margin-top: 0px; margin-bottom: 0cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;"><span style="color: #0000ff; font-size: 13.3333px;">&nbsp;Delikatne zadrapania na klapie matrycy.</span></p>↵<p lang="pl-PL" style="margin-top: 0px; margin-bottom: 0cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;">&nbsp;</p>↵<p lang="pl-PL" style="margin-top: 0px; margin-bottom: 0cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;"><span style="font-size: 14pt;"><span style="color: #0000ff;"><span style="font-family: Calibri, sans-serif;"><span style="font-size: xx-large;">Gwarancja 3 miesiące *</span></span></span></span></p>↵<p lang="pl-PL" style="margin-top: 0px; margin-bottom: 0cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;">&nbsp;</p>↵<p lang="pl-PL" style="margin-top: 0px; margin-bottom: 0cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;"><span style="color: #0000ff; font-size: 13.3333px;">* Jak&nbsp;zawsze&nbsp;nie&nbsp;udzielamy&nbsp;gwarancji na baterię.</span></p>↵<p lang="pl-PL" style="margin-top: 0px; margin-bottom: 0cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;"><span style="color: #0000ff; font-size: 13.3333px;">**** Do wyboru bateria pokazująca pod systemem około 5 godz. (mała 6 ogniw), lub około 8 godz. (duża 9 ogniw).</span></p>↵<p lang="pl-PL" style="margin-top: 0px; margin-bottom: 0cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;"><span style="color: #0000ff;">** Możliwość&nbsp;rozbudowy za&nbsp;dopłatą pamięci RAM do 8GB.</span></p>↵<p lang="pl-PL" style="margin-top: 0px; margin-bottom: 0cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;"><span style="color: #0000ff;">*** Możliwość wymiany dysku HDD na SSD, lub sprzedaży w niższej cenie bez dysku.</span></p>↵<p lang="pl-PL" style="margin-top: 0px; margin-bottom: 0cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;">&nbsp;</p>↵<p lang="pl-PL" style="margin-top: 0px; margin-bottom: 0cm; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;">&nbsp;</p>↵<p style="margin-top: 0px; margin-bottom: 3px; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;"><em><span style="color: #0000ff; font-family: Calibri, sans-serif; font-size: xx-large;"><a style="color: #5e42c5;" href="https://drive.google.com/folderview?id=0B0ZzPflGW_tZeURlSWNybFlvRUE&amp;usp=sharing" target="_blank" rel="nofollow">Oryginalne zdjęcia laptopa kliknij w ten link</a></span></em></p>↵<p style="margin-top: 0px; margin-bottom: 3px; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px;">&nbsp;</p>↵<center style="font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px;"></center><center style="font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px;"></center>↵<p style="margin-top: 0px; margin-bottom: 3px; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; text-align: center;"><span style="font-size: 14pt;">Dodatkowe informacje</span></p>↵<p style="margin-top: 0px; margin-bottom: 3px; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; padding-left: 120px;"><span style="font-size: 12pt;">- Podane ceny są cenami brutto i zawierają&nbsp;<span style="font-weight: bold;">23% podatku VAT</span>.</span></p>↵<p style="margin-top: 0px; margin-bottom: 3px; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; padding-left: 120px;"><span style="font-size: 12pt;">- Faktury VAT wystawiamy na życzenie kupującego.</span></p>↵<p style="margin-top: 0px; margin-bottom: 3px; font-family: Arial, Helvetica, sans-serif; font-size: 13.3333px; line-height: 16.6667px; padding-left: 120px;"><span style="font-size: 12pt;">- Zdjęcia zamieszczone na aukcji są naszego autorstwa i przedstawiają sprzedawane laptopy. Nie są to zdjęcia poglądowe pobrane z internetu.</span></p>"dodatkowe_info:nulldost:"Na wyczerpaniu"dysk:"500GB 7200RPM"grafika:"Intel HD 4000"gwr:"3 miesiące"id:19kabel:nullklawiatura:nullkomunikacja:"WiFi, Bluetooth, LAN"matryca:"12.5" 1366x768"moc:nullname:"HP ElieBook 2570p"naped:"DVD-RW"napiecie:nullnumber:"DKC83G"porty:"Display-Port, USB 3.0, czytnik kart SD, czytnik linii papilarnych, kamerka internetowa, podświetlana klawiatura."price:1000procesor:"Intel Core i7-3520M 2.90GHz (3.60GHz max)"producent:nullram:"4GB DDR3"stan:"Używany. 100% sprawny."system:"Windows 7 Professional."thumb:"P5120001.JPG"wtyk:nullzasilacz:"W zestawie"

i teraz chodzi o to aby przypisać wartości Wolt/Amper/Wat do tablic tylko najlepiej by było zrobić to w funkcji która sama to zrobi i jeśli wartość się powtarza to zostanie pominięta.

Nie wiem czy dobrze to wytłumaczyłem, ale chodzi o to jak to logicznie rozwiązać w jak najprostszy sposób Big Grin
Cytuj
Diabeł Online
Użyszkodnik


Liczba postów: 777
Reputacja: 666


Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości