How to create a button to switch between scripts with Java | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to create a button to switch between scripts with Java

Android studio

13th Oct 2023, 7:39 AM
Cali “325-ManskaaP” Flow
Cali “325-ManskaaP” Flow - avatar
4 Answers
+ 1
I might be able to help if you explained a bit more
20th Oct 2023, 11:29 AM
Tony Stark
Tony Stark - avatar
+ 1
The program crashes when I click a button which is supposed to send me to the next page
20th Oct 2023, 11:55 AM
Cali “325-ManskaaP” Flow
Cali “325-ManskaaP” Flow - avatar
+ 1
Ok then, add an onclick function in the html and in the function, use window.location command
21st Oct 2023, 4:12 PM
Tony Stark
Tony Stark - avatar
+ 1
I'll try it out. Thank you for your assistance
22nd Oct 2023, 5:53 AM
Cali “325-ManskaaP” Flow
Cali “325-ManskaaP” Flow - avatar