Posts by André Monteiro • 191 points
12 posts
-
0
votes2
answers971
viewsA: Add HTML TAG with CSS content
As our friend Vitor André said, it will really be interpreted as a text. The ideal is to use jquery to make html injection on the page, using "append" or "prepend".
-
1
votes3
answers788
viewsA: Hide description with ''Display: None " bad for SEO?
The use of display:none will not affect your SEO. In the case of visibility:hidden, may not be indexed.
-
0
votes1
answer178
viewsA: Centralize ul within the responsive div
Use a parent panel to resolve this, and change the internal panels to display: inline-block; .painel{ height:150px; width:220px; display:inline-block; background-color:#fff; margin:5px; }…
-
1
votes2
answers2517
viewsA: Textarea without scrollbar
You can try "autoResize" with Jquery. So the textarea box will expand, without the scroll bar. $('textarea').autoResize(); Or another simpler option is to set the scroll to Hidden. height: 75px;…
-
0
votes2
answers419
viewsA: Error creating data with foreign key
This error occurs due to the non-existence of records in the Departments table. Perform a load of data in this table and change the Iddepartment field to a combobox (Dropdownlist). Follow model:…
-
3
votes2
answers685
viewsA: Jquery how to set a value in a field with CPF Mask?
Reverse the order. Add this command: $("#cpfDependente").val(dependente.cpf); then add the mask: $("#cpfDependente").mask('000.000.000-00');…
-
2
votes1
answer100
viewsA: Problem with Nav css boostrap menu
Ready buddy... Fixed. I added some DIV’s and changed the CSS a little bit. Now just add the ICONES that will look the same. Understand that the menu items are not centered, in this example you…
-
-1
votes2
answers749
viewsA: Table does not appear in EDMX models
I already had this problem. I solved creating a column in the table called Id of type int, as primary key with Identity. The RU gets lost with composite keys. Take the test.
-
1
votes2
answers51
viewsA: Insert N comments, having the option to edit them at any time and then save those comments
You can record everything in Session by setting an expiration time and an ID for it. At the end, you read Session, record, and clean Session. Or work with cookies, which uselza user processing, not…
-
1
votes5
answers3375
viewsA: Console Application without showing console window
Console or Windows Forms are projects that expect user interaction. Because the task you need to perform does not depend on interaction, as you are trying to hide the Console. It is recommended that…
-
3
votes2
answers235
viewsA: Return Latitude and Logitude to my form fields with Javascript - Google Maps
Where you have the code: var address = ''; if (place.address_components) { address = [ (place.address_components[0] && place.address_components[0].short_name || ''),…
-
2
votes2
answers141
viewsA: Select with Linq set the first characters in Where
Below some forms of "Like". string.Contains("pattern") is equivalent to LIKE '%pattern%' string.StartsWith("pattern") is equivalent to LIKE 'pattern%' string.EndsWith("pattern") is equivalent to…