Questions tagged as 'javascript'

1
answer

Repeat interval

Hello, I made a post asking this: Setar Interval every 1 second And I have the following code: iniciarVerificacao(); var verificar; function iniciarVerificacao(){ if(verificar) clearInterval(verificar); verificar=setInterval(functi...
asked by 03.06.2018 / 01:29
1
answer

Ajax POST does not execute the ASP.NET MVC action

   Controller Action public class EstabelecimentoController : ControllerBase { [HttpPost] public ActionResult ImportarEstabelecimentos() { var file = Request.Files["inputFileImportarEstabelecimentos"]; return Red...
asked by 15.06.2018 / 17:44
0
answers

Print PDF document directly via PHP or JavaScript

I would like to know if there is a way to print a PDF document directly (without the need to press ctrl + p in the browser) via PHP or JavaScript. For example: create a button that, when clicked, sends the PDF document to the user's print queue....
asked by 03.06.2018 / 00:24
1
answer

Field with auto required in java script

I have my code where I select an item and the field suits each case. When I select number the field returns a given type to be typed and works fine (I got the hint on another question I made by Marcelo Uchimura), however, I now want to know how...
asked by 03.06.2018 / 18:09
1
answer

Individual script values within a modal

I have a modal that presents a number and I do this with the help of java script. In my page I have a search, and in the results I noticed that only the first result appears with the field with the correct formatting like this: (00) 0000-0000....
asked by 03.06.2018 / 20:31
0
answers

"Array to string conversion" error [duplicate]

I have a page in php to edit files, where you write the name in an input and select the extension by a select, at the time of conversion it happens the error "Array to string conversion". (Follow the code for analysis.) if(isset($_POST['nome...
asked by 03.06.2018 / 19:48
1
answer

How to retrieve the number of elements within a card-group

I have a card-group that needs to know the exact value of elements inside it, because, I want to achieve 3 elements to create another card-group with 3 elements and so on ... I made a card-group with 3 elements to test, however it is returning t...
asked by 14.06.2018 / 21:03
0
answers

Php Codeigniter - Algorithm to generate base string from bank data

Good night people, how are things? Let's go to my problem. I have the data saved this way in the bank: BasicallyaprojecthasTERMSrelatedtoit.Termsinturnmayhavesynonyms.Iwantmyfeedbacktobeasfollows(seeprint2)("$termo" OR "$sinonimo") AND ("$ter...
asked by 14.06.2018 / 01:21
1
answer

Dynamic ID with Jquery

I have a function that it creates a span with id, however I need this id to be generated dynamically. $("#lista").append("<span id='span'><br> " + label + " - R$" + valor + "</span>" );     
asked by 29.05.2018 / 16:47
1
answer

Render content on the screen from an option

I would like to know how I do to instead of having multiple pages for each menu option, I just render according to the click event the content on the screen, for example: <main class="container"> <div class="banner"> <...
asked by 25.05.2018 / 14:55