- Screen name: firstuser123
firstuser123's Profile
8 Posts
5 Responses
0
Followers
Show:
- Expanded view
- List view
Private Message
Hi In my android phonegap app,i have used jquery autocomplete feature.I need to get the keyvalue pair in autocomplete
Here is my example code:
var Person = [{"Prateek":"hello"},{"James":"android"}];
$(".searchbox").autocomplete(Person);
When i type 'j' in the textbox i need to get android instead of james in the autocomplete textbox.But i am getting error and result is not shown in textbox.And i am using autocomplete js which can be used also in asp.net
Please guide me where i am wrong.Thanks In Advance
- Hi I have developed the android app using jquery mobile with phonegap.When i continuously started to use the app,suddenly after it reach 60MB my app closed and showing JNI error in the logcat.Please guide me where i am wrong?.Please help me to solve this problem.
- Hi,I have designed the android phonegap app using jquery mobile and using the same in ios.My app is working fine in big devices.But in the small devices my page is not scrolling properly.I have fixed header and footer.In the footer i have menus,one or two buttons and displaying the advertisement.I am facing this problem in both android and iphone.Please kindly guide me to solve this issue.Thanks in Advance.
Hi I am using jquery mobile in my android phonegap application.I am showing the loading popup in the onload using jquery mobile and when loading popup is shown,i can able to type in the textbox in the html page.How to solve this problem
Here is my code:
$(document).ready(function () { $.mobile.loading('show', { text: 'Loading', textVisible: true, theme: 'a', html:"" }); });- Hi,I have developed design html page using jquery mobile for my android phonegap app.I am using jquery-1.8.2.js and jquery.mobile-1.2.0.js.I have set the header and footer in data-position="fixed".normally it was working fine.But when the select menu or textbox get focused,footer moves down.How to solve this.Please guide me.Thanks in Advance.
- 07-Aug-2012 05:38 AM
- Forum: Using jQuery
Hai am developing phonegap in android. i have a image path location,i need to attach the image when i attach the image i want to check the image size.Its not greater than 1 Mb.Am searching thishttp://jsfiddle.net/jquerybyexample/PKLQn/1/light/,but its input type is file .am using image path location.How to do this?
image path=
content://media/external/images/media/503. i need to check the image size- 26-Jul-2012 10:22 AM
- Forum: Using jQuery
Hai i have a text box and footer .while typing in the text box my footer moves up
so i tried to hide the footer while typing by using onfocus and onblur.while typing the text footer is hide correctly and using onblur i show the footer. But to show the footer is very problem,when i click outside of the textbox then only the footer show..so it is problem
Then i tried another method to hide and show ,By using keybord show and hide but that also not working correctly,,i dont know how to solve this problem?
here my code
<style>
#footer {
position:absolute;
bottom:0; left:0;
width:100%;
background-color:#00458D;
padding:0;
border-width:3px;
padding-top:3%;
padding-bottom:2%;
padding-right:0px;
padding-left:0px;
background-color:#00458D;
}
</style>
<body>
<div>
<input type="text" id="myHeader" style="width:70%" />
</div>
<div id="footer" align="center" style="background-color:#00458D;padding-top:2%">
<table width=100% >
<input type="image" src="../images/Home.PNG" style="border:solid white 1px;width:23;height:6%" onClick="home()"/>
<input type="image" src="../images/messages-menu.jpg" style="border:solid white 1px;width:23%;height:6%" onClick="inbox()"/>
<input type="image" src="../images/settings-menu.jpg" style="border:solid white 1px;width:23%;height:6%" onClick="settings()"/>
<input type="image" src="../images/close-menu.png" style="border:solid white 1px;width:23%;height:6%" onClick="callServiceFunction()"/>
</table>
</div>
</body>
</html>Am using HTC-EVO
i attached my emulator image

- I have designed my phonegap android application using html and css. So i want to know how to get the same design size in all the mobiles.Is there any settings available.Please tell me the solution. Thanks in Advance.
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>
- </title>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <title>
- </title>
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css" />
- <link rel="stylesheet" href="my.css" />
- <style>
- /* App custom styles */
- </style>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js">
- </script>
- <script src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.js">
- </script>
- <script src="my.js">
- </script>
- </head>
- <style>
- #searchwrapper {
- width:90%;
- height:48px;
- background-image:url(../images/input-box.png);
- background-repeat:no-repeat;
- background-size: 100% 100%;
- margin-left:15px;
- position:relative;
- }
- .searchbox {
- border:0px;
- background-color:transparent;
- position:absolute;
- top:4px;
- left:9px;
- width:86%;
- height:34px;
- }
- .searchbox_submit {
- border-top-right-radius: 5px;
- border-bottom-right-radius: 5px;
- border-top-left-radius: 5px;
- border-bottom-left-radius: 5px;
- border:0px;
- background-color:transparent;
- position:absolute;
- top:4px;
- left:90%;
- width:9%;
- height:40px;
- }
- </style>
- <body>
- <!-- Home -->
- <div data-role="page" id="page1" style="background-color:white">
- <div data-theme="a" data-role="header">
- <img src="images/header-search-causes.png" alt="image" style="width:100%" />
- </div>
- <div data-role="content" style="padding: 16px">
- <br>
- <label style="font-size:12pt" align="center">Choose one of the following options to search our directory of causes</label></td>
- <br/>
- <div id="searchwrapper" style="width:90%;"align="center">
- <input type="text" class="searchbox" name="s" value="" placeholder="Search" />
- <img src="images/search-button.png" alt="image" class="searchbox_submitIC" />
- </div>
- <br/>
- <li style="list-style:none" data-theme="b">
- <a href="#page1" data-transition="slidefade">Button</a><br/>
- <a href="#page1" data-transition="slidefade">Button</a><br/>
- <a href="#page1" data-transition="slidefade">Button</a><br/>
- <a href="#page1" data-transition="slidefade">Button</a><br/>
- </li>
- </div>
- <div style="margin-top:4%;border-width:3px;padding-top:2%;background-color:#00458D;" align="center" data-theme="#00458D" data-role="footer" data-position="fixed">
- <table width=100%>
- <tr><td></td></tr>
- <tr>
- <img src="images/Home.PNG" alt="image" style="width:20%;height:6%;" />
- <img src="images/messages-menu.jpg" alt="image" style="width:20%;height:6%;" />
- <img src="images/settings-menu.jpg" alt="image" style="width:20%;height:6%;" />
- <img src="images/close-menu.png" alt="image" style="width:20%;height:6%;" />
- </tr>
- </table>
- </div>
- </div>
- <script>
- //App custom javascript
- </script>
- </body>
- </html>
While typing in the textbox the footer is moving upward.How to solve this issuekindly Guide meThanks in advancefirstuser- «Prev
- Next »
Moderate user : firstuser123
© 2012 jQuery Foundation
Sponsored by
and others.


