knee-jerk (n.) Look up knee-jerk at Dictionary.com
patellar reflex, neurological phenomenon discovered and named 1876; the figurative use appeared soon after the phrase was coined.