I am new to javascript and I’m trying to make a web app that tests users and also lets them make tests. I’m currently focusing on the making-tests part of the web app. When the user enters the name of the test and the number of questions they want in the test, they click the button and then a java…
Tag: html
how to call out again the functions in javascript?
I watched the JavaScript tutorial of cleverprogrammer at youtube then I saw his rock, paper, scissors game. I thought of an idea to add some function in his game that will reset or will move onto next round. But when I try the remove() or document.getElementById(‘id name of my form’).remove(), it …
How can I change css content with attr and appscript
I have a function which is returing a value “Suggested color” , however I want to put that value as content in stylsheet with class whereas my appscript is shown as below which is returning value “suggested color” I want that value to be printed in dynamically. So my appscript function…
Function does not remove and add class
I have a script that basically is to remove the class “no-js” from the body and add the class “js”, but the script is not working. What did I do wrong? Answer You have to call the function like thie removeClassBody();
How to drop a column when exporting data from html table to csv file?
Assume, Im having a table like below: I need to drop the “Contact” column and export the remaining column to the CSV file. HTML: On click of the download button, js function will get called. JavaScript Error: How to export table data to CSV by excluding a specific column?.Any way to achieve this. …
Bokeh dashboard: any way to save user selections for page reloads?
I have a Bokeh dashboard where the user can select a bunch of inputs using CheckboxGroup and Select type of selectors, e.g.: The dashboard is supposed to show near-real-time data though, so it reloads every 10-15 minutes, and all user selections (such as “shoes” above, for example) of course vanis…
Is there any way to get full path of file in form?
I am trying to get file by input element of type “file”. That element is in partial view and I want to send it to controller or request it there by “Request.Form[“inputFile”];”. This way give me only name of the file. In the controller i want to send it via email attachment…
Datetimepicker dropdown menu is not shown full size
I’m having the following problem with a datetimepicker widget. I’m using the following Bootstrap 4 template: And I imported the following: I would like to make the datetimepicker widget fit the left section of the page. I tried to change the z-index of the widget with no success and I also tried t…
Creating a transparent navbar in bootstrap to be use in Gatsby JS app
I am trying to use bootstrap 5 to make a scrolling transparent navbar, however I am using jQuery and I need to convert it to react or simple javascript. Here’s my HTML: And here’s my jQuery that I need to convert: You can see the JSFIDDLE here: https://jsfiddle.net/bootstrapious/ravpqxok/ Any idea…
Dynamically select which array to run through funciton
I am trying to make a jQuery function dynamically decide which array gets run through it based on a button click. Ideally, this is how it would work: User clicks one of the “View More …” buttons. The program loads the next 3 images of that specific category (Sports, Concerts, etc.). Below is…