Try jQuery mobile buttons in templates and didn't work .