Today, I'm very happy that I can change jQueryMobile select Box active style color in iPad safari. Because, current active style ".ui-btn-active" is 100% working for other inputs like text, radio and checkbox but for select box, it doesn't completely work in iPad safari. My boss told me that I need to change all of active input color to "dark blue" instead of default color. That's why I need to change and already played in existing jQueryMobile stylesheet file. But it doesn't work at all. That's why I think I need to hack jQueryMobile existing javascript. After 30 minutes, I found that there are three places I need to change in jQueryMobile existing stylesheet.

The first part is I need to add new class name for active select box in stylesheet.

view plain print about
1.ui-select-active {color:#0000a0; text-shadow: 0 -1px 1px #ffffff;}

After that, I need to declare above class name in jQueryMobile javascript file.

We need to add following coding after this "activeBtnClass: "ui-btn-active","

view plain print about
1activeSelectClass: "ui-select-active",

Final part is we need to change existing coding in line 3491.

view plain print about
1<!--- original coding --->
2button.addClass( $.mobile.activeBtnClass );
3
4<!--- change to this one --->
5button.addClass( $.mobile.activeSelectClass );

Now what my boss told me to do is 100% working.