Interesting questions
-
-1
votes1
answer197
viewsReload table without updating whole page? Mvc Applications
I have an application that insert some information through an Ajax call, so far all right, the data enter normally however, I can only view the changes after I do a refresh on the page, I wanted…
-
2
votes1
answer1000
viewsRecover image through path and display
I created the following method to save an image in the database public ActionResult enviaArquivo(UsurioViewModel arq) { try { string nomeArquivo =""; if (arq.Arquivo != null &&…
-
2
votes3
answers535
viewsFinding pg_dump and pg_restore (Postgresql) on my C#PC
To perform the backup and Restore in a Postgresql database using C# you need to locate some files like the pg_dump and pg_restore. How do I make a function so that it is possible to find the files?…
-
1
votes0
answers19
viewsEvent mouseover and onclick event for the same set of elements
Guys, how can I make my mouseover and click, work for a set of elements, in my case an img and two Labels: Image Test <style> .imgImportacao{ width: 150px; margin-top: 10px; margin-left:…
-
14
votes1
answer920
viewsWhat’s the point of double exclamation before the method call on Kotlin?
I’m studying Kotlin. I realized that in converting to the type int, it is necessary to place the double exclamation (!!). Example: var input = readLine()!!.toInt(); Generally in other languages,…
-
0
votes1
answer506
viewsC string array
I know that to define a word (string) in C, it is necessary to use a vector of characters, with a defined number of characters that will be used. However, how can I use a multi-word vector, that is,…
-
1
votes1
answer199
viewsHow to Get Selected Jstree Root
Galley, good afternoon, a doubt, I’m using the Jstree and I need some help. When I select the child nodes : I can get them through the script : $('#arvore').jstree(true).get_selected(). But I can’t…
-
1
votes2
answers2351
viewsmysql file download
I have files in my database that I’d like to download. These files are of various extensions; . pdf, . txt, doc, . xlxs, etc; I looked in many places but found nothing detailed (for beginners). I…
-
0
votes1
answer216
viewsGraphic Passing php data to js
Hello, I have a php file with a div calling the js file, but I need the js file to read the php data in arquvio php: <div id="chart_div" style="width: 100%; height: 500px;"></div> in the…
-
2
votes1
answer418
viewsHow to change another element with pure CSS?
How can I change another element with Pure CSS, from one element? I tried to do this but it didn’t roll. I don’t know the CSS selectors and wonders in depth. input { display: block; transition: top…
-
3
votes1
answer772
views"By Onchange" form validation with javascript
Good afternoon! I am trying to validate a form by "Onchange" with javascript, the script worked correctly but is presenting the following error: When I try to fill in any form field without having…
-
1
votes2
answers4088
viewsHow to concatenate two chained lists?
I created this code by initializing a list, but I need to improve it, creating a function that concatenates two and at the end prints the value of the two concatenates... Yeah, I don’t know how.…
c++asked 11 years, 9 months ago Paulo Roberto 1,988 -
0
votes3
answers38
viewsHow to apply style to a group of selectors
Context I have the following code <div id="id1"></div> <div id="id2"></div> How could I make that by passing the mouse on #div1 and #div2, only the #div1 stay with the green…
-
1
votes1
answer63
viewsDisplay a formatted Timespan time
I have two variables: TimeSpan horaI = new TimeSpan(10, 00, 00); TimeSpan horaF = new TimeSpan(22, 00, 00); I need to present them on the screen as follows 10:00 and 22:00. But I’m not getting it.…
-
2
votes1
answer414
viewsWrong paging on Codeigniter
I have 15 Ads on my website and I have made pagination for 10 Ads per page. Okay, Codeigniter is paging with 10 Ads/Page, but on the second and last page Codeigniter is showing 10, when it should…
-
1
votes1
answer128
viewsCreate Divs according to database entries
Good morning, I am developing a website and would like to create a new div for each entry the database presented in php. I need to make a page with the same principle of a blog, the last content…
-
0
votes1
answer263
viewsConfigure Cake Bake for Cake Version 2.x
I have a Cake 2.3 Library on my Ubuntu 13.10 configured and running normally. When I try to use cake Bake, it automatically takes over Cake 1.3 Welcome to CakePHP v1.3.14 Console Question: How do I…
-
-2
votes1
answer43
viewsHow to search using jquery by TITLE attribute?
I hope this message finds you well. I have a jquery code that performs table searches in real time. This code searches this table for cell values, but I need it to search at the same time for values…
-
1
votes0
answers344
viewsError "Cannot set Property 'checked' of Undefined"
In the store here is giving an error in the prototype: Uncaught TypeError: Cannot set property 'checked' of undefined at klass.<anonymous> (product.js:128) at prototype.js:391 at…
prototypejsasked 9 years, 5 months ago Lucas de Carvalho 6,427 -
0
votes2
answers59
viewsTop calculation on scss
I have a container that has a variable height, depending on the computer resolution. I need to calculate when top should use so that the content is centralized. I tried something like: .container {…