Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #19416

Why is this not working

From "Tony" <tony.johansson@inport.com>
Newsgroups comp.lang.javascript
Subject Why is this not working
Date 2013-04-23 13:11 +0200
Organization A noiseless patient Spider
Message-ID <kl5q2o$65h$1@dont-email.me> (permalink)

Show all headers | View raw


This works fine 
hours++;
hours = hours < 10 ? "0" + hours : hours;
cellTitle = hours + ":" + "00";

but if I change the code to this it doesn't work
I can't see why ?
hours++;
cellTitle = hours < 10 ? "0" + hours : hours + ":" + "00";

//Tony

Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Why is this not working "Tony" <tony.johansson@inport.com> - 2013-04-23 13:11 +0200
  Re: Why is this not working "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2013-04-23 14:28 +0300
  Re: Why is this not working Carlos Pedro <carlospedr@gmail.com> - 2013-04-23 05:42 -0700
    Re: Why is this not working "Tony" <tony.johansson@inport.com> - 2013-04-23 15:02 +0200

csiph-web