Posts by markim • 332 points
17 posts
-
0
votes3
answers47
viewsA: I’m having trouble aligning
There is a lot to be optimized in this code, but here is the solution for what you are looking for: Find this code snippet: <div class="why-trocafone_reasons" style="box-sizing: border-box;…
-
1
votes2
answers208
viewsA: Dropdown menu superimposing
You can hide all other sub-menus when you call your function: $(document).ready(function () { $('.dropdown-submenu a.test').click(function (e) { $('.dropdown-submenu ul').hide();…
-
4
votes1
answer653
viewsA: Link button in Slideshow with html, css and Javascript
Search your CSS for this code snippet .galleryContainer .slideShowContainer>.captionTextHolder { . . . } And replace it with this .galleryContainer .slideShowContainer>.captionTextHolder {…
-
1
votes1
answer3205
viewsA: Open modal through Actionresult in MVC
So come on... A simple example... Contoller: public ActionResult Login() { return View(); } [HttpPost] public ActionResult Login(String user, String senha) { if (user == "user" && senha ==…
-
0
votes2
answers172
viewsA: How to display a modal(bootstrap) stating that the input type="file" cannot be null?
I resolved it this way: HTML <input id="imagens" type="file" multiple name="file" accept="image/x-png, image/gif, image/jpeg" required /> Jquery $("#target").submit(function (event) { var…
-
-1
votes2
answers172
viewsQ: How to display a modal(bootstrap) stating that the input type="file" cannot be null?
I have an input: <input id="imagens" type="file" multiple name="file" accept="image/x-png, image/gif, image/jpeg" required /> And the following javascript code: var fileUpload =…
-
1
votes1
answer2487
viewsQ: How to reset an input type="file"?
I have the following code: $(function() { // Multiple images preview in browser var imagesPreview = function(input, placeToInsertImagePreview) { if (input.files) { var filesAmount =…
-
4
votes3
answers1011
viewsQ: How to compare strings differentiating case from case?
I have following code: Usuarios user = DataModel.Usuarios.Where(x => x.Login.Equals(login,StringComparison.OrdinalIgnoreCase) &&…
-
1
votes1
answer40
viewsQ: How to upload images and display them using jquery?
How do I upload images and display them within a div, and when the user uploads them again these images are replaced. Ex: the user uploads images img1.jpg, img2.jpg if he uploads new images…
-
0
votes1
answer526
viewsA: How to make ul inline responsive?
Have you tried it inside the <head></head>? <meta name="viewport" content="width=device-width, initial-scale=1.0">
-
1
votes1
answer173
viewsQ: Inner Join in tables 1 - n
I have two tables: Vehicle and Images, where a vehicle can have n images. When performing an Inner Join I get the following result: Vehicles1-Addressimage Vehicles1-Addressimage…
-
0
votes3
answers86
views -
0
votes1
answer49
viewsQ: What is the best way to save multiple image links in a database?
List<String> _lista = new List<String>(); [HttpPost] [ValidateAntiForgeryToken] public ActionResult Create(Veiculo veiculo, HttpPostedFileBase[] file) { for (int i = 0; i <…
-
0
votes2
answers112
viewsA: Separation of tables in html
Use the CSS margin property .table{ margin:top, right, bottom, and left; } Set the values you want
-
1
votes3
answers2917
viewsQ: How to call javascript function in Asp.net?
This is my job <script> function keypressed(obj, e) { var tecla = (window.event) ? e.keyCode : e.which; var texto = document.getElementById("numeros").value var indexvir = texto.indexOf(",")…
-
2
votes0
answers184
viewsQ: Search Gridview Asp.net data
I have a GridView called grvListaFuncionario which is populated by data from my database. I am facing a problem when searching the data on it. private void Pesquisar() { DataTable table = new…
-
1
votes2
answers317
viewsQ: Error creating database by Visual Studio 2015
I’m in trouble when I try to create a database by Visual Studio this message appears:…