Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Javascript array and if condition

Current License: CC BY-SA 3.0

20 events
when toggle format what by license comment
Sep 12, 2013 at 8:48 vote accept Community Bot
Sep 12, 2013 at 8:48 vote accept Community Bot
Sep 12, 2013 at 8:48
Sep 12, 2013 at 8:48 vote accept Community Bot
Sep 12, 2013 at 8:48
Sep 12, 2013 at 8:47 vote accept Community Bot
Sep 12, 2013 at 8:48
Sep 11, 2013 at 10:12 comment added user2688251 I am having 2 arrays. First array contains a-h and it is in sequential order. Second array contains a, x, e, w, q, p characters but it is not sequential order. It must check the given first array character is present or not in the second array using javascript.. plz help me..
Sep 11, 2013 at 10:03 review First posts
Sep 11, 2013 at 10:04
Sep 11, 2013 at 10:00 comment added nnnnnn Your edit just made things more confusing. Please describe what you want to do with words rather than code samples. It's really not clear what you're attempting. categoryid is not going to ever be equal to 0 or 'a' if you set it equal to an array. Is that if test supposed to be inside the for loop? Are you trying to find values that are in both arrays? Are you trying to do something with values that are in only one array? Or...?
Sep 11, 2013 at 9:54 comment added user2688251 I wants to add this array condition dynamically. Is this possible?
Sep 11, 2013 at 9:54 comment added rams0610 sorry did not recognise it
Sep 11, 2013 at 9:54 history edited user2688251 CC BY-SA 3.0
added 1 characters in body
Sep 11, 2013 at 9:53 history edited giorgio
question is solely about javascript
Sep 11, 2013 at 9:52 comment added Havelock What is with iij in the condition if(categoryid != 0 iij)? And also is it categoryid or category.id?
Sep 11, 2013 at 9:51 answer added Niet the Dark Absol timeline score: 1
Sep 11, 2013 at 9:51 comment added Deepanshu Goyal what exactly you want to check and out of the above what is working and what not ?
Sep 11, 2013 at 9:51 comment added rams0610 @dipesh, yes it is currect
Sep 11, 2013 at 9:50 answer added xdazz timeline score: 0
Sep 11, 2013 at 9:50 answer added nnnnnn timeline score: 0
Sep 11, 2013 at 9:49 comment added nnnnnn Are you saying you want to check that category.id is not equal to any value within the array?
Sep 11, 2013 at 9:47 history edited Fluffeh CC BY-SA 3.0
added 4 characters in body
Sep 11, 2013 at 9:47 history asked user2688251 CC BY-SA 3.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /