Reply to Re: HTML backspace

Your name:

Reply:


Posted by Toby Inkster on 10/02/49 11:53

Cal Lidderdale wrote:

> Ok, where I'm waiting for the count to go to 0 I would like to display a
> counter, ie:
> "There are 26 left"
> "There are 22 left"
> "There are 17 left"
> Only I'd like to just make the number change with out a newline - ^H
> doesn't work. printf ("^H^H^H^H%4d", cnt)

print "<p>There are <input id=\"foo\"> processes left.</p>";
while ($n = countProcesses())
{
print "<script type=\"text/javascript\">\n;
print "document.getElementById('foo').value = {$n};\n";
print "</script>\n";
}

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация