Tags » Sameera

How to get value inside callback function?

start.addEventListener(‘click’,function(e){

    var picker = Ti.UI.createPicker();
            picker.showTimePickerDialog({
            callback: function(pick) {
                if (e.cancel) {
                    Ti.API.info('user canceled dialog');
                } else {
                    Ti.API.info('user selected date: ' + e.value);
                }
            }
        });
    });
… 25 more words
Recent Questions - Stack Overflow

How to pass data to angulerJs to server

i have some in put in my form..

  <input type="text" name = "alias" placeholder="Start Time" style="width:200px"/><br/>
  <button ng-click="new()" name="new" >Add</button>

How can i pass input value to server to make new user in mongoDb… 122 more words

Recent Questions - Stack Overflow

AutoCompleteBox for WinRT (C# and XAML) - Selecting item list using arrow keys

I have Used an Auto Complete Box for my Windows Store App Project.

when I type something the suggestion list will appear but I cannot select the Item that I want using the arrow keys of the keyboard. 41 more words

Recent Questions - Stack Overflow

Time value not storing in the MongoDB Database

I didnt get any errors.all values are stored in to database except Time vales.

in here i get the user inputs

<div>
    <input type="time" name="start_time" style="width:200px" placeholder="Strat Time"/><br/>
    <input type="time" name="end_time" style="width:200px" placeholder="End Time"/><br/>
    <input type="text" name="service" style="width:200px" placeholder="Service"/><br/>
    <input type="text" name="client_name" style="width:200px" placeholder="Name"/><br/>
    <input type="text" name="client_phone" style="width:200px" placeholder="Phone"/><br/>
    <input type="text" name="amount" style="width:200px" placeholder="Amount"/><br/>
    <button>Add</button>
</div>
… 508 more words
Recent Questions - Stack Overflow

Time value not storing in the MongoDB Database

I didnt get any errors.all values are stored in to database except Time vales.

in here i get the user inputs

<div>
    <input type="time" name="start_time" style="width:200px" placeholder="Strat Time"/><br/>
    <input type="time" name="end_time" style="width:200px" placeholder="End Time"/><br/>
    <input type="text" name="service" style="width:200px" placeholder="Service"/><br/>
    <input type="text" name="client_name" style="width:200px" placeholder="Name"/><br/>
    <input type="text" name="client_phone" style="width:200px" placeholder="Phone"/><br/>
    <input type="text" name="amount" style="width:200px" placeholder="Amount"/><br/>
    <button>Add</button>
</div>
… 399 more words
Recent Questions - Stack Overflow

How to pass data to Mongodb using Node.js, websocket and total.js

I am trying to pass data to Mongodb using Websocket and total.js.
In my homepage.html I can get the user input and connect to the server via websocket after clicking the save button. 400 more words

Recent Questions - Stack Overflow

Looping Observable Collection from the Last Item

foreach(var item in myObservalbleCollection)
{
    //samoe coding
}

Above code will loop the items in the observable class from the beginning. I want to loop the this object from the last Item… 26 more words

Recent Questions - Stack Overflow