1. Don't ask for directions.

2. Don't ask for direction.

(Are both grammatical? Which one is correct?)

3. That's the foundation of the success of our work.

4. That's the foundation of the success for our work.

(Are both grammatical? Do we have to use 'of' or 'for' before 'our work'?

#1 is correct; #2 is incorrect.

Use "of" -- 3 is correct; 4 is not.