Questions tagged as 'html'

2
answers

Show success message without leaving the page

I have a form that sends some data to the database and uploads to an FTP, the part of the database has a if that returns the error in a variable and shows the error in the form itself. But my question is how do I do this for another kind...
asked by 13.11.2018 / 19:49
3
answers

Creating html elements in looping javascript

I'm pretty new with javascript and when it comes to creating loopings I totally lose myself, the code below is to create the elements with each click and number the id and the text, but I'm having difficulties with that, I I managed to so...
asked by 06.08.2018 / 18:24
2
answers

How do I link an image in PHP?

if($formaCombate == "patk") { if($patk1 > $patk2) { echo "Jogador 1 Ganhou!"; } elseif ($patk1 < $patk2) { echo "Vitória do jogador 2"; } else { echo "<img href='link'>&l...
asked by 27.08.2018 / 01:47
2
answers

Problem with jQuery on display

I'm having a problem, I'm testing JSFIDDLE link when the user clicks on the photo - needs to change image, this is already in the test, but the user when clicking the image below, the top is back to what was ... Thank you
asked by 28.09.2018 / 15:56
2
answers

How can I not return an "X" value in DB?

How do I not return an "X" value in the database? For example, I have a Vagalume style website, and it has the page of each artist where the tab "Related Artists" is based on the TAGs registered in the BD, I wanted it not to return the artist v...
asked by 04.05.2018 / 04:38
1
answer

javascript / html counter

I need to make an application in javascript / jquery / html that counts the clicks of the user on the button and when the counter reaches 10 it locks the button and displays an alert, I do not know why it is not displaying. Anyone know?...
asked by 23.09.2017 / 21:35
2
answers

How to know which tab is selected

I have the following situation <div class="container"> <div class="row"> <div class="col-md-1"> </div> <div class="col-md-10"> </div&g...
asked by 19.09.2017 / 21:09
2
answers

Change DIV via jQuery

I have a div with a class and when the screen gets in 770px I have a code that changes that class. I would like to additionally change the class name to change it's position, display it in another div, how could I do it by jQuery? Example...
asked by 22.09.2017 / 19:58
3
answers

How to make custom confirm alert?

Good afternoon I'm looking to make a custom alert with a different design: for example if the user clicks on cancel opens an alert asking "do you really want to cancel" but would like it with a design someone could help me. I have alert but only...
asked by 14.06.2018 / 16:12
4
answers

Multiple Choice Question

I have to develop a quiz with javascript, the first part I have already developed that are to pick up the answer of questions with only 1 correct answer, but I am not able to do the second part which are the questions with more than one correct...
asked by 28.11.2018 / 12:48