Added datatype request to property onclick event