Intellisense using phonegap - iphone

I need to develop an app for iphone using phonegap
I want to have a drop down box which has the capacity of intellisense.
Like when i type 'A' in the dropdown box, all the data elements listed with 'A' should be a part of drop down. Is this possible?

Yes you should be able to create an autocomplete drop down box using something like jQuery -- for which there is already a plugin to do that: http://docs.jquery.com/Plugins/autocomplete
You could write it from scratch but there are already a lot of autocomplete JavaScript libraries.

Related

How to add element into the palette view - IBM Mobile First 6.3

I am developing mobile apps using IBM Mobile First 6.3 with JQM. I need a clarification that, is there any option for adding element into the palette view and also can we create some variable with default value and keep it any view, so that when we needed we just drag and drop into the function so it will be available.
This link found when surfing, but no answer is posted.
The Palette view is part of Eclipse, so you should refer to Eclipse: http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.wb.doc.user%2Fhtml%2Fuserinterface%2Fpalette.html
MobileFirst Platform populates the palette view based on the used jQuery Mobile .zip that you provided; there is no support to add elements to it. You might be able to based on the Eclipse documentation but this is not a supported path by IBM.

Chosen / Select2 Style Library for Autocomplete

I've been using the Select2 library in my web application to replace the default select elements, and I really like how the library looks and how easy it is to use. Now, I'm trying to implement an autocomplete feature for a text field on the same application and I want to use a library that looks similar to Select2. (To keep the UI consistent.) Are there any such libraries that you know of? (Google isn't helping.)
select2 is also an autocomplete library and can replace both select elements and input elements.

twitter bootstrap autocomplete dropdown / combobox with Knockoutjs

I have a requirement where I HAVE TO use bootstrap autocomplete dropdown, BUT user can have free form text in that dropdown if they wish. Before you think about TypeAhead, I could use Bootstrap TypeAhead textbox, but I need to have the dropdown becasue we want to give some default values as headstart options in case users dont know what to search for.
I am using this with MVC DropDownListFor as that creates a select control for us.
I found this article which does that for me.
https://github.com/danielfarrell/bootstrap-combobox/pull/20
All I had to do was take off the name from the select control and the control was letting me enter free form text. All good so far.
Now, I am using this in conjunction with Knockoutjs. I bind my options and selected value to the select control and then on row rendered of my template, I called (selector).combobox() which makes the select control a bootstrap comobobox and adds an input control and hides the select control in the scenes behind.
The problem now is when I try to get he values to post to server, since the value I put in input box is not a valid options from the options I gave to select control, it is always setting it to the first option by default. This is becasue, I set the binding of the selected value on select control and not on the input box which was created by bootstrap-combobox.js.
My question is how do I get the input box to data-bind to the same porperty as the the select control was bound to.
Any other options??
Let me know if you need more clarification or have questions.
Please suggest.
Thanks.
Have a look at Select2 for Bootstrap. It should be able to do everything you need.
Another good option is Selectize.js. It feels a bit more native to Bootstrap.
Does the basic HTML5 datalist work? It's clean and you don't have to play around with the messy third party code. W3SCHOOL tutorial
The MDN Documentation is very eloquent and features examples.
Select2 for Bootstrap 3 native plugin
https://fk.github.io/select2-bootstrap-css/index.html
this plugin uses select2 jquery plugin
nuget
PM> Install-Package Select2-Bootstrap
Fuel UX combobox has all the features you would expect.
Can i suggest http://www.jqueryscript.net/form/Twitter-Like-Mentions-Auto-Suggesting-Plugin-with-jQuery-Bootstrap-Suggest.html, works more like the twitter post suggestion where it gives you a list of users or topics based on # or # tags,
view demo here: http://www.jqueryscript.net/demo/Twitter-Like-Mentions-Auto-Suggesting-Plugin-with-jQuery-Bootstrap-Suggest/
in this one you can easily change the # and # to anything you want
Bootstrap Tokenfield seems good too: http://sliptree.github.io/bootstrap-tokenfield/

Integrate Text Editor With IPad App - Objective C

I have an app for a text editor developed by OMNI Group. I need to integrate this text editor with one of my other apps. I have no idea as to how should I do it. Can someone provide me any directions as to how should I begin with it. I googled a lot but could not find much help. Thanks and regards.
1: Assuming that your text editor is an online editor living in a browser, simply implement a UIWebView and it should just work. For example, an editable <textarea> is rendered without problems in a UIWebView.
If you need other special features you have implemented with javascript and the like you need to test if they work in the UIWebView.
2: If, however, the text editor is already working in another iOS app, simply copy the classes that you are using to implement the editor into your new project and use them in an equivalent way, tweaking where necessary. If you followed the programming principle of incapsulation this should be a breeze.

Which is good modal popup working code?

I would like to have AJAX modal way of pop up box for my website need. I tried this, http://www.ericmmartin.com/simplemodal-login-released/
It does not work to me well while passing the query strings etc.,
Is there better plugin ? I found this website, www.bnet.com (click join / log in) ... it looks good.. Is there any plugin to do like this.
My website is mysql and php
Thanks
Check out http://jqueryui.com/demos/dialog/
I use it on a lot of my websites. Easy to implement and simple plug and play with jquery. They are skinnable and with themeroller you can easily mix and match the colors etc to easily implement it within your existing website theme.