These are some variable in the changePage function which has scope inside the jquery mobile js file. I will be writing above function in another file and will results in undefined error.
Close button for selectmenu has ui-btn-left as class. Either i have to strictly override the css. or replace with ui-btn-right. I'm not sure if there is any option along with select tag to specify the button position. Other wise i will have to override the selectmenu.
I'm not sure about how to override or extend a plugin. Do you have some sample codes?