load local html/template file

load local html/template file

i want to write a local mobile application using jquery mobile without a server. i want to split the views into separated html/template file. so i need to load them during running, i use the way like :
$.get('views/somepage.tmpl')
on Firefox, it works, but on chrome, there is a cross-domain problem, the error information is:
Origin null is not allowed by Access-Control-Allow-Origin.


so what i want to ask is that:
any solution for it, i don't want to write all Htmls into one file.

thanks in advances