All Questions

2
answers

Are libraries downloaded multiple times?

I have an application that uses 3 libraries (Bootstrap, jQuery, jQueryUI) on 10 different pages. Do browsers cache libraries?     
asked on 06.01.2015 / 17:57
2
answers

Name for anonymous functions

In some sample code for frameworks, libs, etc. I checked that the anonymous functions were passed with a name for them. minhaFuncao(function minhaFuncaoAnonima() { // ... }); What is the purpose of naming anonymous functions? Is it any...
asked on 30.03.2015 / 20:04
3
answers

Can I make JavaScript write PHP?

Can I make JavaScript write PHP? Related: Can I write in JavaScript within PHP? Can I write ajax and javascript together?     
asked on 01.10.2015 / 17:33
3
answers

How to block the browser console using javascript?

I would like to know how to block the user from running scripts through the browser console.     
asked on 16.02.2014 / 23:59
6
answers

How to find a value in an array with a specific structure

I need to find the position of an array inside another, in the following structure: array{ [0]=>{ ["id"]=>"5744" ["fk"]=>"7" ["nome"]=>"Nivel 1" ["created"]=>"2014-04-30 16:54:14" ["modified"]=>NULL...
asked on 30.04.2014 / 22:58
3
answers

How to create multiple entries in an index based on columns on the same row?

I've never found a good way to index multiple columns of a row as an index entry or to simulate this feature in MySQL. The problem arises when you have fields working as tags or a similar concept. Ex:. columns with names tag1 , tag...
asked on 30.01.2014 / 05:03
2
answers

What does this () alone do in the constructor?

In the code: public Livro(Autor autor) { this(); this.autor = autor; } public Livro() { this.isbn = "000-00-00000-00-0"; }     
asked on 23.01.2016 / 17:07
2
answers

Back previous position in Visual Studio

When we are wanting to see some method, we press F12 and soon we are "transported" to that method. It turns out that this method can be in another project or another form or in a user control and so forth comes the question. Is there any short...
asked on 23.12.2014 / 19:35
2
answers

Difference between splice () and slice ()

What is the difference between the functions splice() and slice() of the object Array of JavaScript and when each one should be used?     
asked on 19.11.2018 / 17:35
3
answers

What are the requirements of maintaining a 'name' attribute in an 'HTML' tag?

What do you need to keep a name attribute in a HTML tag? its characteristics are the same as the id attribute that still has other utilities such as the key of the $_POST and $_GET
asked on 09.11.2015 / 16:02