Posts by Ingrid Farabulini • 1,002 points
26 posts
-
1
votes1
answer1911
viewsQ: What is the setRequestHeader method for in pure AJAX in POST mode?
What is the purpose and importance of this traditional method setRequestHeader pure AJAX when POST type requests are made by the client for a PHP application on the server? I am always required to…
-
0
votes2
answers1731
viewsA: Conceptual model
The Entity-Relationship model proposes that reality be viewed from three points of view, namely: to) the objects that make up the reality, b) the types of information or characteristics one wishes…
-
1
votes1
answer1940
viewsA: Update with select concatenated between two columns of the same mysql table
The common way is to use UPDATE: UPDATE eskalera.curriculum SET nomecompleto = CONCAT(nome,' ',sobrenome); Thus this query will be able to make the change in all table records in a single…
mysqlanswered Ingrid Farabulini 1,002 -
6
votes2
answers858
viewsA: How to check if a table exists using jdbc java
You can use the available metadata: DatabaseMetaData meta = con.getMetaData(); ResultSet res = meta.getTables(null, null, "My_Table_Name", new String[] {"TABLE"}); while (res.next()) {…
-
2
votes2
answers385
viewsA: Display Jcombobox object data in a Jtextarea from the selected item
cli = (Cliente) this.cbcliente.getSelectedItem(); txtareacliente.setText("Cliente: " +cli.getCliNome()+ "\n\nCPF: " +cli.getCliCpf()+ "\n\nRG: " +cli.getCliRg()+ "\n\nSexo: " +cli.getCliSexo());…
-
0
votes2
answers900
viewsA: Enable Jbutton from selection in Jtable and remove the initial focus from the table
import java.awt.*; import javax.swing.*; import javax.swing.event.*; import javax.swing.table.*; class SelectTableExample extends JFrame implements ListSelectionListener { // Instance attributes…
-
0
votes0
answers329
viewsQ: Search in Mysql with FULLTEXT IN BOOLEAN MODE including keyword operators?
How to make in BD Mysql, in an Innodb table with two fields indexed by FULLTEXT, a search is performed through the MATCH query (column1, column2) AGAINST('keyword' IN BOOLEAN MODE) including even…
-
3
votes1
answer72
viewsQ: Why does AJAX allow synchronous use?
Hello, in my AJAX studies, the form of synchronous transmission is always seen with bad eyes, and the widely recommended form of transmission is asynchronous. If only asynchronous is the one we…
-
1
votes1
answer189
viewsQ: Enabled attribute of HTML5 elements belongs to which interface?
I noticed that some elements of HTML accept the enabled attribute, but I could not identify in W3C which interface shows its possibility of its use. Thank you!
-
6
votes3
answers434
viewsQ: Is it correct to omit the html start tag in HTML5?
Should we or should we not omit the start tag html in an HTML5 document? Several developers ignore its use. Thank you! <!DOCTYPE html> <head> <title>...</title> </head>…
html5asked Ingrid Farabulini 1,002 -
2
votes1
answer554
viewsQ: What are the existing attributes in the html tag?
In HTML5, what are the possible attributes that can be used in element (tag) html? I always learned the attributes by studying by W3schools, but I realized that they say nothing about attributes…
html5asked Ingrid Farabulini 1,002 -
1
votes1
answer171
viewsQ: Should prefixes be used in HTML5 elements?
I noticed in the HTML5 documentation that the use of the attribute is still allowed xmlns in the root element (tag) html. This attribute, according to my study, gives a "qualified unique name" to…
-
7
votes2
answers1185
viewsQ: Which pattern to use: HTML5 or XHTML5?
Why should we not mix the two and which of the patterns is most useful today?
-
4
votes1
answer1197
viewsQ: What is the prefix attribute for in the html element (tag)?
Why do you use the prefix attribute on elements (tag) html? And in HTML5, can I also use it? Thank you! <html prefix="og: http://ogp.me/ns#">
-
9
votes1
answer5823
viewsQ: When to use the xmlns attribute in the html element?
In HTML5, when to use xmlns? Thank you! <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"…
html5asked Ingrid Farabulini 1,002 -
0
votes1
answer88
viewsQ: Use of Itemid and itemref attributes in HTML5 elements?
I would like to understand the correct semantic functioning of the Microdata Itemid and itemref attributes in the HTML5 elements. Thank you!
html5asked Ingrid Farabulini 1,002 -
4
votes1
answer115
viewsQ: When should I use "xml:" in front of some attributes?
I noticed that some attributes use xml: for example xml:lang="pt-BR"? It seems to me to be an attribute, but it is neither local nor global. In HTML5, its use is required? <html…
-
-1
votes2
answers524
viewsQ: How to know if the code is still written in HTML5 standards?
How could I accomplish, in addition to applying the knowledge I’ve learned and the information from the available documentation, a check to see if an old code written in a previous html version has…
html5asked Ingrid Farabulini 1,002 -
12
votes2
answers11304
viewsQ: What are the differences between the values "en" and "en-BR" of the lang attribute?
I was unable to notice any difference between both values in the tests. Does anyone know? To help: the first two characters of the value define the Language Code Reference (ISO 639-1) and the last…
-
4
votes1
answer74
viewsQ: Attribute Translate: what will be the use of this future attribute?
What steps is the experiment of this attribute and when will the browsers begin to accept its use? And someone can understand and risks explaining what will be their real usefulness in the elements…
-
7
votes1
answer140
viewsQ: Is it correct to omit the "true" value of the Boolean attributes inserted in the HTML elements?
When we insert attributes Boolean in the elements (tag) <html> we do not need to inform the value true, its mere presence already confirms, by default, that this attribute is active. Example:…
-
1
votes1
answer178
viewsQ: Utility of the new global attribute Dropzone in HTML5?
Who knows the goal of the new global attribute Dropzone added in HTML5 and would also like to know which browser supports it? Thank you!
html5asked Ingrid Farabulini 1,002 -
2
votes1
answer381
viewsQ: When to use the draggable attribute in the html element (tag)?
I’ve learned that the global draggable attribute makes HTML elements draggable and with a little Javascript gets even more interesting. But according to the HTML documentation, this attribute can be…
html5asked Ingrid Farabulini 1,002 -
5
votes1
answer1476
viewsQ: A real reason to use the data-* attribute in the html element?
Can anyone mention a single real case of using the data-* attribute (in the pattern that suggests W3C) for the html root element? If a real reason is not possible, at least then imagine a situation…
html5asked Ingrid Farabulini 1,002 -
9
votes2
answers4807
viewsQ: When should I use the class attribute in HTML elements?
I myself feel irresponsible for using so many class at will, without limits, at any time in any situation, whether to make use of CSS, or for use with Javascript. So I ask myself: am I right or, in…
htmlasked Ingrid Farabulini 1,002 -
2
votes1
answer518
viewsQ: What is the purpose of the contentEditable global attribute in the html element?
In what actual situation or when will it be necessary to use the contentEditable global attribute, by the html element, since this is a root element and editing it would be the same as modifying,…
html5asked Ingrid Farabulini 1,002