Skip to content
Advertisement

Tag: jquery

Javascript Countdown timer using SQL variable

I am new to javascript/jquery. I found the following example on the internet and I am trying to get it working with my SQL variable. But I am stuck because all it does is count down from 60 over and over again.. What I am trying to accomplish is the following. I have a variable which says how many seconds

Jquery use value of for loop to append to id attribute

I am making quiz like app. For every question, it will have 4 answers. Then I will use radio buttons to indicate the right answer. How can I append the value of the loop to the id attribute? Thank youuu Here is my code snippet: Answer As per our discussion, this answer works out for your needs: I just use

C# load cshtml into modal with JQuery

I want to load the content from one page into a modal on another page on the click of a button, but it is also loading in the content from the __Layout page. I have tried calling a controller using: However, I cannot get it to load in solely what is in the MyPage.cshtml file. What am I doing wrong?

Going from JQuery to JavaScript

I have a setup in which you click a question and the answer opens on the right. In previous projects I would’ve used JQuery but this is the first project where it isn’t available. My markup My JavaScript At the moment you can click each question and everything opens. Is there a way to remove the amendments to all other

Advertisement