Groups
Groups
Sign in
Groups
Groups
App Inventor Developers Library
Conversations
About
Send feedback
Help
Sort text using the javascript sort() function
210 views
Skip to first unread message
Scott Ferguson
unread,
Jun 24, 2014, 10:17:13 PM
6/24/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Taifun has described a
> very simple method <
to sort text in App Inventor using the WebViewer and javascript.
This is a variation on his method which uses a small html document stored in the media list.
list.html:
<!DOCTYPE html>
<html>
<body>
<script>
var list = eval('[' + window.AppInventor.getWebViewString() + ']');
list.sort();
window.document.title = list;
</script>
</body>
</html>
---
END
sort.aia
Reply all
Reply to author
Forward
0 new messages