Click here to Skip to main content
15,894,343 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: JS Question Pin
dusty_dex19-Apr-13 4:40
dusty_dex19-Apr-13 4:40 
GeneralRe: JS Question Pin
Hakan Bulut19-Apr-13 5:57
Hakan Bulut19-Apr-13 5:57 
GeneralRe: JS Question Pin
dusty_dex19-Apr-13 6:12
dusty_dex19-Apr-13 6:12 
GeneralRe: JS Question Pin
Hakan Bulut19-Apr-13 6:57
Hakan Bulut19-Apr-13 6:57 
GeneralRe: JS Question Pin
dusty_dex20-Apr-13 0:28
dusty_dex20-Apr-13 0:28 
GeneralRe: JS Question Pin
Hakan Bulut20-Apr-13 1:27
Hakan Bulut20-Apr-13 1:27 
GeneralRe: JS Question Pin
Hakan Bulut20-Apr-13 3:52
Hakan Bulut20-Apr-13 3:52 
GeneralRe: JS Question Pin
Hakan Bulut20-Apr-13 9:42
Hakan Bulut20-Apr-13 9:42 
I used to ur method

C#
var arrIns  = [
"1","21","24","28","42","48",
"9","13","14","16","24","49",
"3","18","19","25","44","45"
];
var arr     = [];
var AllLucky= [];
var ct      = 0;
var n       = 0;

do{
   for(var i=arrIns.length; i>0; --i)
   {
      arrIns[i] = arr[i];
      for(var j=0; j<arrIns.lenght; j++)
      {
         if(!arrIns[arr[j]]) {
            arrIns[arr[j]] = AllLucky[ct];
            document.write(AllLucky[ct] + "<BR>");
            ct++; n++;
         }
      }
   }
}while(n<1);


output is
24
must be ?
Hakan cursed chats dealer Smile | :)

GeneralRe: JS Question Pin
dusty_dex20-Apr-13 10:26
dusty_dex20-Apr-13 10:26 
GeneralRe: JS Question Pin
dusty_dex20-Apr-13 11:32
dusty_dex20-Apr-13 11:32 
GeneralRe: JS Question Pin
Hakan Bulut20-Apr-13 21:41
Hakan Bulut20-Apr-13 21:41 
GeneralRe: JS Question Pin
dusty_dex21-Apr-13 0:11
dusty_dex21-Apr-13 0:11 
GeneralRe: JS Question Pin
Hakan Bulut21-Apr-13 1:44
Hakan Bulut21-Apr-13 1:44 
GeneralRe: JS Question Pin
Hakan Bulut21-Apr-13 1:51
Hakan Bulut21-Apr-13 1:51 
GeneralRe: JS Question Pin
dusty_dex21-Apr-13 2:34
dusty_dex21-Apr-13 2:34 
GeneralRe: JS Question Pin
dusty_dex21-Apr-13 5:27
dusty_dex21-Apr-13 5:27 
GeneralRe: JS Question Pin
Hakan Bulut21-Apr-13 22:52
Hakan Bulut21-Apr-13 22:52 
Questionjavascript execute usercontrol method without postback Pin
Steve Holdorf15-Apr-13 8:41
Steve Holdorf15-Apr-13 8:41 
AnswerRe: javascript execute usercontrol method without postback Pin
dusty_dex15-Apr-13 10:00
dusty_dex15-Apr-13 10:00 
AnswerRe: javascript execute usercontrol method without postback Pin
Dennis E White15-Apr-13 10:50
professionalDennis E White15-Apr-13 10:50 
GeneralRe: javascript execute usercontrol method without postback Pin
Steve Holdorf15-Apr-13 11:38
Steve Holdorf15-Apr-13 11:38 
AnswerRe: javascript execute usercontrol method without postback Pin
Dennis E White15-Apr-13 11:43
professionalDennis E White15-Apr-13 11:43 
GeneralRe: javascript execute usercontrol method without postback Pin
Steve Holdorf15-Apr-13 12:03
Steve Holdorf15-Apr-13 12:03 
GeneralRe: javascript execute usercontrol method without postback Pin
Dennis E White15-Apr-13 12:07
professionalDennis E White15-Apr-13 12:07 
GeneralRe: javascript execute usercontrol method without postback Pin
Steve Holdorf15-Apr-13 12:15
Steve Holdorf15-Apr-13 12:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.