data-function.

Uses the attr-function; sets your values - any type - as a string but returns them as they should be. (Hopefully)