0
Please help me. I Am trying to get is code to bring up my questions but its not working
6 ответов
0
Example: insert this code to the <button>openning tag: onclick=loadQuestion() (this will call the function when the button was clicked)
0
There are some bugs:
#1: set jquery <link> inside your <head> tag
#2: in the html code turn the <div class="game"> into id="game"
#3: set an event for you loadQuestion function or put it in side $("document").ready(); event if you want it to load automatically!
0
can you send me an example of #3 please?
0
Or add this code: $("document").ready(function(){
loadQuestion();
});
(this will call the function automatically after page load)
0
Thank you! the code made the question pop up just not when i clicked the button. it came up up under the the jumbotron.. non the less you helped me get a question visiable an for that i thank you
0
Thank you! I was stuck on this for 2 days!