var ur = window.textField.getString();
It gives me "(null)"!
Any idea why?
var textField = new NKTextField();
textField.init(24, 113, 270, 32);
textField.setKeyboardType("URL");
textField.show();
<head>
<script>
function hello{
NKAlert("hi", textField.getString());
}
</head>
<body>
<script>
var textField = new NKTextField();
textField.init(24, 113, 270, 32);
textField.setKeyboardType("URL");
textField.show();
</script>
<input type="button" onclick="hello
();">
</body>
Users browsing this forum: No registered users and 1 guest