Support for ajax data with <select> element (for 4.0)

This patch allows using ajax requests with <select> element instead of hidden input.

Related issue - #279