Handle int placeholders correctly with jQuery adapter

if int value is specified in a placeholder,
`$(elem).val()` returns a string value, but `$(elem).data("placeholder-value")` returns a int value.