You wouldn’t order food without knowing the price, would you?
Knowing how much it costs means you know whether you can afford it or not. It’s the same with salaries. You need to know whether the salary will cover your outgoings.
So, why would you apply for a job without knowing what the salary was?