On a variational approach to some quasilinear problems