JavaScript, PHP, html5, CSS, Rewrite, GMap, ...

Kategorie
  • CSS (98)
  • Docker (3)
  • Github (1)
  • GMap (47)
  • Hosting (1)
  • htaccess (18)
  • HTML (70)
  • HTTP (8)
  • Intellij IDEA (6)
  • JavaScript (210)
  • jQuery (27)
  • JSON (3)
  • Leaflet (7)
  • Linux (46)
  • MySQL (33)
  • Nauka (2)
  • Nodejs (4)
  • Opera (1)
  • Perl (17)
  • PHP (139)
  • PostgreSQL (34)
  • Programy (11)
  • React (6)
  • Rejestr (3)
  • Rewrite (9)
  • Smarty (27)
  • SQL (19)
  • SQL Server (10)
  • SVG (4)
  • System (11)
  • Telefony (6)
  • VBA (7)
  • VBSCRIPT (32)
  • Windows (24)
  • Wordpress (24)
  • WYSIWYG (6)
  • XML (6)

Tag: type

16 Lip 2010

Kasowanie katalogów modyfikowanych 20 dni od daty bieżącej

find /var/www/xml -name "xml_sx_201*" -type d -mtime +20 | xargs -n 200 rm 2>/dev/null

Kasownie katalgów w katalogu xml, modyfikowanych 20 dni od daty bieżącej

find mtime name type xargs
19 Lut 2010

Utworzenie obiektu typu ulica

('ul', 'Chełmska', '10', '10')::ulica_obj

CREATE TYPE ulica_obj AS (pre character varying, ulica character varying, d_nr character varying, m_nr character varying);
castowanie CREATE obj type
26 Lis 2009

Funkcja wypełniająca w formularzu pola typu text

function sf2() {
  var f = document.f2;
  for(i=0;i<f.elements.length;i++) {
   if(f.elements[i].type=='text')
    f.elements[i].value = 'test';
  }
 }
elements text type
5 Wrz 2008

Sprawdzenie typu zdarzenia oraz title linku

<head>
  <script type="text/javascript">
    window.onload = function () {
      document.getElementById('link').onclick = Info;
    }
    function Info() {
      alert(window.event.type);
      alert(this.getAttribute('title'));
    }
  </script>

</head>

<body>
  <a href="#" id="link" title="Miasto Warszawa, Lublin, Chełm, Zamość">zobacz miasta z title linku</a>
</body>
event getAttribute getElementById href link type window
2 Wrz 2008

Dynamiczne dodawanie pola pola typu readonly

var cell = document.createElement("td");
inp = document.createElement("input");
if (idx > -1) {
  inp.value = sel.options[idx].text;
}
inp.type = "text";
inp.name = "numer_" + nr;
inp.size = 45;
inp.readOnly = true;
cell.appendChild(inp);

readOnly - Only musi byc z duzą literą( ale chyba tylko dla IE)

appendChild createElement input name readOnly type zize
12Następne »
Copyright © | kodyWiG Theme