0
HTML5 Canvas - Clickable records from MySQL database
Engaged
,
/t5/animate-discussions/html5-canvas-clickable-records-from-mysql-database/td-p/12853700
Apr 01, 2022
Apr 01, 2022
Copy link to clipboard
Copied
I have a dynamic text field populated from a MySQL database.
$.ajax({
url: "scripts/get_patients.php"
}).then(function(data) {
root.patients.text = data;
})
I now want to make the records returned from the database clickable. The number of records will also need to be scrollable. The clickable records are patient names.
Would would be the best method of presenting this data to achieve the above? A list instead of a text field comes to mind. If so, how would that be implemented?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
FlatChat
AUTHOR
Engaged
,
LATEST
/t5/animate-discussions/html5-canvas-clickable-records-from-mysql-database/m-p/12853726#M353014
Apr 01, 2022
Apr 01, 2022
Copy link to clipboard
Copied
A better way might be to dynamically create movieclips for each returned record and display these inside another movieclip (or some other container) which is scrollable.
How would I do that?
Other suggestions?
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

