Support at IE8/9 element attribute and support $.fn.val.