Questions tagged as 'javascript'

4
answers

String concatenation problem and variables in the jquery load function

Follow the complete JavaScript code: var idcl = document.getElementById('idcl').value; $(document).ready(function(){ $('#estados').change(function(){ $('#cidades').load('cidades.php?estado='+$('#estados').val()+'&cliente='+id...
asked by 09.12.2015 / 17:24
2
answers

Return only integers

<title>Calculadora de Nível</title> <meta charset="utf-8"> <style type="text/css"> body { font-family: 'Segoe UI', Calibri, Helvetica, Tahoma, Verdana, Sans-Serif; color: #000; font-size: 11pt;...
asked by 15.11.2015 / 00:46
1
answer

How to remove URL after upload?

I have my URL www.site.com/product/link/codigo/1 After loading, I would like the URL to not appear in the browser, just www.site.com How can I do this?     
asked by 27.10.2014 / 19:14
2
answers

Call function after fadeOut

I have a function that removes the row from a table, after removing it I need to be called the function getTotal(); . But any way I put it does not work, because of the effect of the line, I need to wait for the effect to pass, and...
asked by 18.09.2018 / 20:48
1
answer

.val does not work on submit button

I have a submit button with a span inside: <div class="btn-toolbar justify-content-center"> <button type="submit" class="btn btn-primary btn-loading"> <span class="circle"></span> Próxima etapa </button...
asked by 09.10.2018 / 17:00
2
answers

Remove Div on which the element is included

I have a form, where I make the clone (jQuery) to add new inputs, where I can also remove them. The problem that occurs is: I need to remove the "current" div where the remove button is located. And currently I can only remove the last element...
asked by 23.11.2018 / 14:57
2
answers

Place event button to access page

How do I put event button to access the following page: No Html: <a id="navMn">Blog</a> I have the following javascript code, which is in error: function abreOjnl(){ window.open('../menu/blog.html'); } document.getElem...
asked by 22.10.2018 / 23:02
1
answer

Go through array and draw empty elements

I have this array: {data: Array(5)} data: Array(5) 0: {tag: " "} 1: {tag: "a"} 2: {tag: "b"} 3: {tag: "c"} 4: {tag: " "} length: 5 How do I go through the array and take out the empty elements? ex: {data: Array(5)} data: Array(5)...
asked by 09.11.2018 / 16:21
2
answers

How to create "html canvas"? (I think it's new in html)

I was looking at websites and noticed a site that set up this example here: link . At first I did not call but later when I saw the html of that page vi that has a <hangout-module></hangout-module> It works as a 'canvas' only f...
asked by 08.02.2014 / 05:50
3
answers

Fill in the value of the input text via checkbox

I would like that as long as the user was clicking on the options of checkbox , the value of it was added in an input text: <div class="form-group col-md-7"> <label class="checkbox-inline"><input type="checkbox" va...
asked by 14.03.2016 / 14:57