Populate Drop Down List using jquery mobile from textbox?

This works...it was because of the jquery mobile...if you don't want to pasre input's...set data-role="none.

Mc_fish thanks a lot... you made my day... really appreciated :)... Can you just brief that out your code..So that I can understand properly..! – Raihan Jamal Apr 1 at 20:46 the mobile library adapted some elements so that they are user friendly! What I did? Just added into ul #-menu(that the jquery created) a li like the others...there can be a bug, you should append into both the "new" element #-menu and into .

Custom_values – mc_fish Apr 1 at 20:50 @mc_fish The code is working fine.. Suppose we are adding hello into drop down list.. and then we open the drop down list to see hello, then hello is there but we are not able to select that hello..! Any suggestions? – Raihan Jamal Apr 1 at 22:05 $(". Custom_select").

Append(""+$(". What_to_add").val()+"") add it to the select and to the ul – mc_fish Apr 1 at 23:47 @mc_fish so it should be like this, '' – Raihan Jamal Apr 17 at 0:03.

I have done the same way you told me..! ( www-rohan.sdsu. Edu/~verma1/whitneyExpense/testing1. Html) – Raihan Jamal Apr 1 at 19:03 @mc_fish I think simple jquery is working fine.. but as soon as I am importing some jquery mobile plugins.. it stops working.. As I have to work with jquery mobile... I think that is the main reason it is not working bcoz of jquery mobile..! Any help will be appreciated..! Thanks... – Raihan Jamal Apr 1 at 19:06 its because EXPDB = window.

OpenDatabase(shortName, version, displayName, maxSize); you have a error there...now 3 things: 1. Do not use js for database usage...use php, java, asp whatever but don't js 2. If you need sql manipulation on the fly use ajax, 3.

You have included jquery twice! – mc_fish Apr 1 at 19:18 @mc_fish but that thing is commented out.. So how it can affect that..! :| – Raihan Jamal Apr 1 at 19:20 @mc_fish I have removed all the database part.. As we have to connect to database using jquery mobile itself. And Now I am more confused.. So I have made two different links.

Currently I am working on this link (www-rohan.sdsu. Edu/~verma1/whitneyExpense/testing1. Html) and on this I want the textbox value to get into drop down list and in this it is not working properly as you can try by inserting..But on this link(www-rohan.sdsu.

Edu/~verma1/whitneyExpense/testing. Html) the same code is working fine Value is getting inserted into drop down list what is the problem? Bcoz of some jquery plugins?

– Raihan Jamal Apr 1 at 19:30.

In jquery this would be something like this: $(". Add_button"). Click(function(){ $(".

Custom_select"). Append(""+$(". What_to_add").val()+"") }).

Thanks for replyin... So script tag will be like this:- '' – Raihan Jamal Apr 1 at 18:14 no you need to include jquery(this was for jquery library) it keeps javascript "easy" I can only recommend it:) – mc_fish Apr 1 at 18:32 I wasn't able to understand.. Can you just brief me out from my example given above.. That will be of great help to me...! – Raihan Jamal Apr 1 at 18:34 jquery. Com download the library there and add it to your page or link it from google ie. – mc_fish Apr 1 at 18:38 not working this way also.. I tried this way... '' – Raihan Jamal Apr 1 at 18:47.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions