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

Kategorie
  • CSS (97)
  • 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: text

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
18 Sty 2009

Konwersja typu String do Integer

Dim w, h, wm, wh As Integer

w = CInt(TextBoxW.Text)
h = CInt(TextBoxH.Text)
wm = CInt(TextBoxWm.Text)
hm = CInt(TextBoxHm.Text)
CInt Corel konwersja text TextBox
5 Wrz 2008

Odczyt wartości z pola Select, kopia do innych pól formularza

function wybierzWyszukany(nr) {

  var el = document.getElementById("combo_osoba_" + nr);
  var el2 = document.getElementById("zwyciezca_" + nr);
  var el3 = document.getElementById("zwyciezcaid_" + nr);

  var idx = el.selectedIndex;
  if (idx < 0) return;

  el2.value = el.options[idx].text;
  el3.value = el.options[idx].value;
}
getElementById options Select selectedIndex text value
Copyright © | kodyWiG Theme