- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I need help ASAP, I want to make a basic app which takes name input, on pressing submit it should display the name that is input on the text element. But I am getting undefined print on the text box instead of the name entered. Please help ASAP!
- Tags:
- HTML5
- Intel® XDK
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The problem is that you need to use Angular to access elements from Ionic framework, take a look at this post:
http://stackoverflow.com/questions/37730065/angular-ionic-cant-access-value-in-html-input-field
If you are not familiar with Angular and don't need to use Ionic I suggest you to change to Bootstrap framework. Your code will work on it, using DOM or jquery to set and get UI element values.
Regards,
Diego
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page