Page 1 of 2
problem with selectmenu
Posted: Mon Apr 21, 2014 10:24 am
by pritu patel
In above screenshot that is the select menu. It display two cityname combine in selectmenu at page show.after value change it display one cityname.
I write follow code at page show:
var $select = Appery("selectmenu");
$select.find('option[value="' + localStorage.getItem("c") + '"]').attr("selected", true);
$select.selectmenu("refresh");
Why it shows two vlaue?
I want only onecityname.how it possible??
This problem occur after change my lib. version.from 1.2 to 2.0.
problem with selectmenu
Posted: Mon Apr 21, 2014 10:25 am
by pritu patel
This problem only display in mobile.But In browser it work very perfectly.
problem with selectmenu
Posted: Mon Apr 21, 2014 10:46 am
by Kateryna Grynko
Hi Pritu,
So it works on desktop browser and doesn't work on mobile, right?
How do you test it on phone? Di you install app or test in browser?
What is the OS on your device?
problem with selectmenu
Posted: Tue Apr 22, 2014 4:59 am
by pritu patel
yes, you are Right!!!!
I have intex cloud y2 and version 4.2.2 jellybean device.
I installed app in my device and check in that
problem with selectmenu
Posted: Tue Apr 22, 2014 11:41 am
by Maryna Brodina
Please clarify how to reproduce this problem.
problem with selectmenu
Posted: Wed Apr 23, 2014 7:09 am
by pritu patel
It work perfectly when i used lib ver.1.2,
I changed my lib ver to 2.0.after this problem occured only in my mobile not in browser.
In select menu i want only one value.But it display two value at at time.
How to solve this problem.
I used code that i post in my question.
please check this problem in mobile only.because this problem comes in mobile
problem with selectmenu
Posted: Wed Apr 23, 2014 9:29 am
by Maryna Brodina
We need your public app link and steps to reproduce.
problem with selectmenu
Posted: Wed Apr 23, 2014 9:49 am
by pritu patel
http://appery.io/app/mobile-frame?src...
this is public link
but please check in mobile.
It perfect in browser,but problem in mobile..
I also share my app,the name is"df".
problem with selectmenu
Posted: Wed Apr 23, 2014 9:54 am
by Maryna Brodina
Please post step by step guide on how to reproduce this issue.
problem with selectmenu
Posted: Wed Apr 23, 2014 10:13 am
by pritu patel
please install my app in any device otherwise you can't understand what is my problem.
after open my app
1.first select any city from popup page.
2.first page had header,in header had one select box in middle.
3.select box had city list.
problem is that the select box had two city name.
I want only one city name.
why display like this??
how to display one name??
this problem comes because of lib version change.
If i set libversion 1.2 then it will perfect.
But If i set lib version 2.0 then this problem occur.