Hi there many thanks for your reply .
I dowloaded _custom.js file with filezilla , opened it with windows notepad and changed it to custom.js and added the lines you said so that it looks like this . (The lines that contain pagebeforecreate were already in there)
/*
* Rename this file to custom.js
*
* custom scripts
*
*/
jqm(document).on('change', 'select', function(){
jqm('select').selectmenu('refresh', true);
});
jqm(":jqmData(role='page')").live('pagebeforecreate', function(){
// put page preprocessing here
});
i saved it as custom.js and ftp'd it up but no change