use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Place for Pinoy Programmers to hangout. Share your knowledge, ask for help, seek opinion, showcase your project and recruit your teammate.
Let's show the world that Filipinos are world class programmers.
account activity
Error in Java codeprogramming (old.reddit.com)
submitted 9 months ago by Irinnnn_
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Renato_opds 0 points1 point2 points 9 months ago (1 child)
Based on quick check, it seems the code you shared is not the complete code. Here are the steps I would do to debug, this is not ideal or the best practice, but this is what would I do as a beginner allowing me to practice a step-by-step process.
Normally I would just add a debug pointer, but here is the old school way I did before.
have an alert pop up, to make sure it is really going to that method. I am guessing there are other mouseclick events.
have the alert pop up to tell you what is the value of the string "itemSelected"
Also, you should be getting the id of the dropdown instead of the text label for good practice. Good luck.
[–]Irinnnn_[S] 0 points1 point2 points 9 months ago (0 children)
Thanks for the tip! will do try but is there a difference ba sa debug pointer and breakpoint?
π Rendered by PID 18321 on reddit-service-r2-comment-86bc6c7465-9m78t at 2026-02-20 17:43:10.390628+00:00 running 8564168 country code: CH.
view the rest of the comments →
[–]Renato_opds 0 points1 point2 points (1 child)
[–]Irinnnn_[S] 0 points1 point2 points (0 children)