I am designing a web page that will obtain data from my firestore collection and display each document with its corresponding fields Here is the code: here is the JS: Answer I don’t see why you’re using a for loop in your function. Unless one “Book” document is an Array of items each h…
I want to onchange “change” just one time
so: I’ve been trying to make an onchange change just one time, because i want the object appear on the screen after the first change, and stay on the screen: and used this javascript function to appear the div on the page I don’t know what to do to have what i want. Help me please? Thank You! Answ…
material-ui tabs with nextjs?
I have a project in material-ui, nextjs and typescript. I’m trying to get my navbar to work with nextjs: But it causes the build to fail. Is there something I’m missing? Answer In this case, I believe you want to wrap the <Tab /> elements with the <Link /> ones.
how to store the string “1+2+3” as an array like [“1″,”+”,”2″,”+”,”3″] in javascript?
I am trying to convert the whole string into an array. Then use the splice to edit the numArr Then change the original string, numbers Answer You could split the string with nonnumber characters.
how to alert Error Messagen in Marketing form
i have a Marketing form and i need to change the display error message see Picture. my form : and I want That my error message be like This: Answer As it has already been mentioned in the comments, you should use JavaScript to validate the form. Here is a runnable code snippet:
Index Values SumUp to Total
I am trying to improve in my Problem Solving Skills and would love to get some explanation on what it is that I am doing wrong or if I can get a hand in the right direction. My code below is what I am stuck on. My problem, I am trying to check within the array if it contains any
Create a row in an airtable base from static html form
I have a static landing page, and would like to create a simple waitlist in airtable using only plain html/javascript. I created a simple form on my landing page, that only accepts an e-mail. After pressing “submit” button, I would like to post this e-mail to my airtable base. I guess it can be do…
discord.js problem: How can I implement a command that will only allow people with the kick and administrator permission to use the command
I used this command for kicks, but everyone in the server can now kick. I just want to add something that will only allow people with the admin and kick permissions to use it. Answer You have to implement something like at the beginning of your kick command code.
Multiple select get Selected options in order selected
i have a multiple select like the following that i have implemented chosen plugin on i have an onchange listener that adds selected elements to an array like so however in which ever option i select the items they always end up arranging themselves in the order they are in the multiple select for example by s…
How would you display the time using Javascript in html while html still is running and displaying other stuff
I am making a music player (just to play one song so i can learn more html) and i want it to display the time at the bottom and it seems the only way to do it is with Javascript. I got it to print the time, but it doesnt display any of the html code, only the time shows.