Home

Tue, Dec. 22nd, 2009, 11:38 am
[i]pkbarbiedoll posting in [i]javascript: Javascript variable names & arrays (variable variables?)

I wrote a function to select one of an array of checkboxes. The form name, checkbox name, and value to be checked is passed. If I hardcode the form name, it works great. I want to make the function flexible to reuse in other situations, so the form name needs to be a variable.

EDITED - problem solved. If anyone needs this feel free to use or improve.

Scope:
Will toggle checkbox matching a certain value in an array of checkboxes. Similar to the "select all" but it just selects one. It's designed to be invoked with onClick from the checkbox description. See below....

Javascript:


Usage:

Tue, Dec. 22nd, 2009, 08:32 pm
[i]naive_kurapika posting in [i]compscibooks: Why do we have to study different programming languages?

it's just a survey:

Why do we have to study different programming languages?

Your answers will be appreciated thanks!

Tue, Dec. 15th, 2009, 07:40 am
[i]dans711 posting in [i]certification: flash cs4 and photoshop cs4

hi guys?
it's my first post here. my name is Dana from Dubai nice to meet you^^
i have a question regarding about flash cs4 exam and photoshop cs4 the no of the exam are
9a0-092 and 9a0-094
i searched for free ones in the internet but i couldn't find any.and i had to take the exams as soon as possible. so i was thinking of buying one from pass4sure website but the sad thing there's no flash cs4 nor photoshop cs4 axams.
so my question is there anyone here got the exams or know any trustworthy website so i can buy from it knowing i would pass the exam 100%?
i used to buy from pass4sure and it's the best!

ps: that goes to illustrator cs4 as well.

thank you in advance.

Sat, Dec. 12th, 2009, 01:59 am
[i]sparkymark posting in [i]csharp: LINQ beginner

I have a pair of LINQ "group" statements, each outputs a IEnumerable<IGrouping<bool,int>>. Call these results a and b. I want to create four collections of ints, The ones that correspond to "a.Key && b.Key", "a.Key && !b.Key", "!a.Key && b.Key", "!a.Key && !b.Key".

I can convert a and b to Dictionaries with the ToDictionary extension method and have code like...

var foo = from aa in aMap[true] join bb in bMap[true] on aa equals bb select aa;

...but then I need to check the dictionary keys exists, which is not a huge overhead but I can't help thinking there must be some way of "join"ing a and b directly...?