Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. amlilola

    javascript function needed

    ahhh... This is how it goes... 1) thnx for the "}" - I figured it's something like this (error) :) 2)adding leading zeros. I figured that I don't need that much, becouse every number (seat) starts with leading 0, so... 3)images go like this (A01, A02, A03... A015, A016) <- 16 seats for demo...
  2. amlilola

    javascript function needed

    You can check it out at www.e-ulaznice.net website is in Croatian (ulaznice=tickets) and it is a part of my computer science course at Faculty of Electrical Engineering, Mechanical Engineering and Naval Architecture at University of Split, Croatia. It is 99% complete (some make-up and details...
  3. amlilola

    javascript function needed

    Still doesn't work. I'm pretty much sure that everything works fine with the zeros and non-zeros, but not so sure about the other part of the code. I'm new to javascript and this is pretty much the LAST part of the biggest project I've ever been on (online tickets reservation system built from...
  4. amlilola

    javascript function needed

    something like this: function prva(sjedalo) { for(var i=0;i<17;i++) { var image = document.images['A' + lz(i)]; if((sjedalo==image)&&(sjedala_selektirana[i]==0)&&(brojac<5)) { if(sjedala_slobodna[i]) { sjedala_selektirana[i]=1; brojac++; if...
  5. amlilola

    javascript function needed

    Hello everybody, i have this javascript code and desperately looking to create a function so I don't have to copy/paste all the time... code goes like this... // first loop if((sjedalo=="A01")&&(sjedala_selektirana[1]==0)&&(brojac<5)) { if(sjedala_slobodna[1]) {...

Part and Inventory Search

Back
Top