Questions tagged as 'javascript'

1
answer

MySQL query loading table with browse button

I'm in need of a help. I need to make a Search button, pick the parameters of some selects (combobox) and update a table below the filters. But I'm not sure how to do this, to press each click on the button. Here is the code I've alread...
asked by 17.10.2014 / 03:24
4
answers

Scroll with Jquery

I'm creating a website, and I'm wanting to do a scrolling effect on the pages where clicking the menu item scrolls to where the related information is. It would be more or less the same, but a bit simpler with just the same scrolling. Coul...
asked by 26.05.2014 / 20:19
3
answers

Ask before deleting bank data

I have this code: <?php if ($result = $mysqli->query("SELECT * FROM usuario ORDER BY id")) { if ($result->num_rows > 0) { echo "<table border='1' cellpadding='5' cellspacing=0 style=border-collapse:...
asked by 23.09.2014 / 20:22
3
answers

Backspace when pressing "+"

In a given input , I allow the user to enter the content he / she understands, but pressing the + key will open a pop-up (which is working) with data coming from the database. What I am trying to do now is: When I press the...
asked by 07.04.2014 / 17:34
2
answers

How to hide iframe when entering site

Personal I have a code <div class="box"> <button id="showr">Mostrar</button> <button id="hidr">Esconder</button> <div> <iframe width="420" height="345" src="http://www.youtube.com/embe...
asked by 26.12.2014 / 13:42
2
answers

Remove all tags within a contenteditable

I want to prevent the formatting of text from a website and for this I need to remove all tags (except <br> ) inside a text box if someone thinks of pasting some content from some other site An example to not be confused: var te...
asked by 21.12.2014 / 22:18
2
answers

Lock RadioButton when selecting another radio button

Expensive, good afternoon. I have the following question. I should block the other radio buttons by clicking on the radio button of the first check. Therefore, when you click on the radio button, priority1, the radio buttons priority2 and priorit...
asked by 24.08.2018 / 20:07
3
answers

default argument in javascript function [duplicate]

Which of these, or other, is the best way to set the default value of a javascript function? function func(arg){ //Esse: arg = arg || "valor padrão"; //Ou esse: if(arg === void 0 ) { arg = "valor padrão"} //Ou esse: arg = a...
asked by 24.08.2018 / 04:07
1
answer

How to decode this string in javascript

I get this string in the frontend, but I need to decode it. Tr%E1%BA%A7n_H%C6%B0ng_%C4%90%E1%BA%A1o -> Trần Hưng Đạo I do not know any function to decode it.     
asked by 18.09.2018 / 14:42
2
answers

Filter through the href

Well, I'm new using Javascript and I'm having some difficulties. I have a box that has 6 links, this is involved in a dom-repeat, that is, there are many 'boxes' with 6 links inside. I need to check if there is a link within each box, if it has...
asked by 18.06.2018 / 14:38