CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   DOM and JSON scripting (http://www.codingforums.com/forumdisplay.php?f=15)
-   -   Need Help in making a Java script code (http://www.codingforums.com/showthread.php?t=283804)

seliwat 12-08-2012 04:33 PM

Need Help in making a Java script code
 
Dear All,

Please help me in making a Java script code equivalent to the below given structure.

http://img843.imageshack.us/img843/6462/javascriptj.jpg

Thanks

Inigoesdr 12-08-2012 09:53 PM

Is this homework?

felgall 12-08-2012 10:53 PM

Quote:

Originally Posted by seliwat (Post 1298340)
Dear All,

Please help me in making a Java script code equivalent to the below given structure.

http://img843.imageshack.us/img843/6462/javascriptj.jpg

Thanks

That's a basic for loop - see http://javascriptexample.net/basics17.php

donna1 12-09-2012 12:10 PM

so easy think the competition should be to make the answer in the least characters - mines about 50
Code:

for(var x=20;x>=10;x-=3){alert(x);}
alert("the end");



All times are GMT +1. The time now is 07:46 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.