10/20/2023 0 Comments Javascript you dont know js job readyProblem right now is that if I check Chicago, properties of Boston are also shown. I have a checkbox for every city, every city had some properties, if I click on Chicago, then properties of Chicago are listed. So using class, if one checkbox is checked it shows properties related to that class. The reason I want the ID is because ID is unique and class is not. I work on the front end for an internal app my company uses and after the first year I found the you don't know js. I'm completely self taught and I've been programming on and off for as long as I can remember really but just started doing it professionally 2 years ago. How can I check the value of checkbox by ID when I don't know the ID yet? Update I don't really know where I fall on the spectrum from novice to advanced. show or hide if user clicked on the checkboxīut because there are many checkbox with class citycheck when one is checked, if another city is not checked, the properties are still shown. I am using PHP to assign a random ID to a checkbox, now I want to check that value of checkbox but because I don't know the ID, I dont know how to check it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |