Q:

get the value of an input nativscript

var inputValue = document.getElementById("myTextInputID").value;
33
var view = require("ui/core/view");
function pageLoaded(args) {
    var page = args.object;
    var textfield= view.getViewById(page, "textfieldID");
}
var text = textField.text;
0

New to Communities?

Join the community