Interesting questions
-
0
votes0
answers36
viewsHow to detect changes in an iframe’s innerHTML and run a function with Mutationobserver?
I’m creating an extension for Chrome and I need it to detect (within an iframe) when an object’s innerHTML is changed and performs an action, example: button.click();. How can I create this…
javascript dom iframe google-chrome-extension observer-patternasked 5 years, 7 months ago Roger Windberg 71 -
2
votes1
answer104
viewsMake . append() before . load()
I’m using the .load() to load content (partial) from controller of my application. What I wanted to do before the .load, was to add code html while carrying a partial. I tried to do it .append…
-
1
votes1
answer332
viewsHow to add an input value to an existing value? Vue
I defined an initial value for each information in the graph, in case A,B and C, wanted to know how to add with a value that will be placed in the input. Project code: <div class="main">…
-
1
votes1
answer501
viewsMysql: Limit record recording based on value from another table
I have a table A with a field start_date and another end_date. I have a table B with a field date. Is there any way to ensure that a record is only saved on B when B.date be among A.start_date and…
-
2
votes2
answers794
viewsGet information from the customer
This may sound like a silly question, but I’m kind of in trouble here. I need to collect through the browser some information that helps me identify the client that is browsing. I already know the…
-
4
votes1
answer229
viewsCheck the number of copies that have been printed
Hello, I have a table that when printed generates a record in a txt telling the user who printed, on which machine, on which printer, which document was and when. But I would also like to register…
-
0
votes2
answers181
viewsMongoose error or nodejs
I’m developing a simple script, but I’m stuck in an error that I can’t understand the reason, I created a model and apparently the error occurs whenever I try to access. Node:…
-
0
votes1
answer522
viewsAndroid: Instagram photos of a particular user
Setting: In my app I want to show the photos of a user. I am authenticating, I have access to the token and I can log in with user and password but after logging in it says that I am not allowed to…
-
5
votes1
answer215
viewsObtain only numbers in an input that receives XX ml (example: 200ml)
I am using the Jquery mask to automatically put the ml (milliliter) suffix in the input that gets the size of a bottle. being the input id #size: var tamanho = $("#tamanho").val(); An example 200 ml…
-
1
votes1
answer3976
viewsError in Wordpres JQMIGRATE: Migrate is installed, version 1.4.1
This showing JQMIGRATE: Migrate is installed, version 1.4.1 error on my worpdress site only when I use the Google Chrome browser. In mozila and edge the site works normal and the scroll effect also.…
-
1
votes1
answer56
viewscreate a Pre (ETL) Extract, Transform, load with console c#
I have an activity and I don’t know where to start, I have to create a Pre ETL to consume and transform a .txt follows data: Price List The Price List file will arrive with the following name:…
c#asked 7 years, 6 months ago Wesley Dias 35 -
3
votes2
answers805
viewsPlace directory path in a php variable
I have the following code <?PHP $directory = "placas"; //Get each file and add its details to two arrays $results = array(); $handler = opendir($directory); while ($file = readdir($handler)) { if…
-
0
votes0
answers290
viewsHow do I save data to a JSON file using Javascript?
I would like to take the output of the console.log and keep saving in a file . JSON and then get a search inside it
-
0
votes1
answer81
viewsDynamic columns in mongodb view
Hello, I have a job where I need to create a view a db widget, but some columns of this view should be calculated at runtime, similar to mysql NOW(), for example: When I find in the view, I need a…
-
0
votes1
answer192
viewsCall to a Member Function Pluck() on null
In the following code, the following error occurs, which I cannot understand why: Call to a Member Function Pluck() on null public function edit($id) { $user = User::find($id); $roles =…
laravelasked 7 years, 3 months ago Albino Mateve 1 -
1
votes1
answer184
viewsAlignment with Flexbox
I’m having trouble doing a project with using Flexbox. Behold HERE my ongoing project These red boxes are distributed using Flexbox, the amount of boxes will vary from 1 to 400, IE, You need to…
-
1
votes1
answer415
viewsHow to run a php file via a Switch Button with html and css?
Save people!! I’m new in the programming universe. I wonder how to make this button run a file in . php triggered and another file . php when not triggered. /* Estilo iOS */ .switch__container {…
-
3
votes1
answer323
viewsWhat does the function of %% and %any% on the r?
I’ve been reading the R’s documentation and the document Arithmetic{base}, Arithmetic Operators I came across the %% who claims to have the mod function, which I assumed was the modulo function, but…
-
2
votes1
answer8849
viewsHow to send only a spreadsheet by email in VBA and not the whole file using the code below
Option Compare Database Option Explicit Public Const C_Title As String = "ef3.Cinco" 'Metodos Public Sub SendMail(obj As MailClass) 'Nome da classe... Dim appOutLook As Outlook.Application…
-
1
votes1
answer616
viewsWhat is the difference between Getkeystate() and Getasynckeystate()?
I’ve always used the GetKeyState() to know if the user is pressing a key, but I see that many people use more the GetAsyncKeyState(). With that came to me the following doubts: What is the…