Does anybody know how to change jQuery Mobile color header by using Javascript, I've no idea how to create on javascript but successful create it on CSS.
.ui-page .ui-header{
background: #FF0000 !important;
}
on the top .ui-header shown the color but I do not know how to implement on javascript
$(".ui-page .ui-header").css("background-color", "#FF0000");
终于,我得到了答案,多亏了Aweary。
$(".ui-header").css("background-color", "#FF0000");
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.