Questions tagged as 'javascript'

0
answers

Because my modal is not getting the post

This is the code that receives the post <?php if (isset($_POST['idModal'])) { $result = mysqli_query($conn, $query="UPDATE tb_cartao SET mtpag=Cartão, doc='$_POST[docModal]' , nome='$_POST[nomeModal]', tpd...
asked by 17.08.2018 / 14:19
1
answer

Load specific content from a div that is in another html file with jQuery

Save list! I need a help here, I have a ".html" file where I mount a list that is configured like this: <!-- ... --> <header> function Open(id) { console.log(id); var x = $("#div"+id); $.get("descrs/grea...
asked by 17.08.2018 / 00:37
0
answers

Three dynamic comboboxes

I have these 3 dynamic comboboxes: <fieldset class="grupo"> <table class="campo" cellspacing="10"> <tr> <td> <strong><label for="Valência">Valência</label></strong>...
asked by 17.08.2018 / 12:37
0
answers

Error executing a function in JS

I'm trying to run this function: function createSlick(){ $(".slider").not('.slick-initialized').slick({ centerMode: true, autoplay: true, dots: true, slidesToShow: 4, responsive: [{...
asked by 07.08.2018 / 01:54
1
answer

Angular: Error in system modules

Hello! My application stopped compiling, giving problems in general purpose modules. The crypto module was the first error that appeared, so I looked for a solution to this error. ThesolutionIfoundaltersthewebpack-configbrowser.jsfile.Thecry...
asked by 07.08.2018 / 02:49
1
answer

How do I create an optional parameter

How can I set the second "& bonus2" paramenter as optional? I want if if it turns out the ways: (bonus1 & bonus2 == true) or (bonus1 == true) function offersFixed(bonus1, bonus2, textValue ){ if (bonus1 &&am...
asked by 07.08.2018 / 02:50
0
answers

Save to Database with filters

I'm working on a project, which I have to save a photo in the database with the filters applied, but it only saves the original and with the filters it gives "error". I have already created a column in the table of images with the name of "filte...
asked by 07.08.2018 / 15:49
2
answers

Insert a value into a variable in the form

I have a group and subgroup register. My idGroup is getting a value and I have to enter it in the form to go in the post. @Input() idGrupo: any; configurarFormulario() { this.formulario = this.formBuilder.group({ name: [null, Val...
asked by 07.08.2018 / 02:43
0
answers

Clone deep node not working properly

I'm trying to duplicate the meta div of a Youtube video page. It's the div below the title div of the video and like and dislike. I want you to have 2 equals, one on top of the other. But when I use: original = document.querySelector...
asked by 06.08.2018 / 20:56
0
answers

Many checkboxes locking browser with Materialize CSS

I have a problem that is as follows: I'm using the Materialize CSS, and Vue Js. I have a table with registers, and in each register has a checkbox next to it to be able to carry out some action with this register, like to send notification by...
asked by 07.08.2018 / 00:04