문제

I want to include JQuery mobile CSS in moovweb project

[http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css.]

The project is not created using Jquery Mobile template.

I know to insert an external js file , say:

insert("script", type: "text/javascript", src: asset("javascript/mobile.js")); Is it the same for an external CSS?

Thanks, Ambika

도움이 되었습니까?

해결책

Got it !!

insert_top("link", rel: "stylesheet", href:"http://code.jquery.com/mobile/1.3.1/jquery.mobile.structure-1.3.1.min.css")
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top