All Questions

1
answer

Select GridView line with checkbox

function Selecionar(elemento,cordefundo) { var Inputs = elemento.getElementsByTagName("input"); var cor = elemento.style.backgroundColor; //manter a cor default do elemento for(var i = 0; i...
asked on 11.10.2015 / 21:30
6
answers

How to prevent submitting an empty form?

I have a custom search form for Google Search, and I want that, if the search field is empty, submit does not happen. Can you block this via JavaScript?     
asked on 04.11.2014 / 16:03
1
answer

Dropdown with SVG

I'm with an art and now it's in an SVG file. The problem is that the client wants that when passing the mouse (or if clicking) in a block, it should open a menu. I do not know if you can create this, but I wanted to know. The SVG code I have tod...
asked on 30.11.2015 / 16:58
2
answers

Error replacing occurrence in string using replaceAll

I extract the text of several lines of a PDF, at the beginning of each line I have a configuration of the font size and family used in that line, but then I need to remove this information. First I made using replace , as follows: Str...
asked on 11.10.2015 / 03:53
2
answers

Codeigniter session expiring after an action

I made an administrative panel using CodeIgniter and every time the session expires, thus redirecting to the login screen. Every time, for example, that I edit a category, after editing it and clicking another menu link, the system redire...
asked on 21.11.2015 / 21:00
1
answer

Layout with different colors in TextBox (Safari and Chrome)

Safari is fading the colors inside that are not @Html.ComboboxFor, how do I not to remain in the textbox? I'm using CSS and JQuery, follow the photo Select does not exist in Safari: @Html.DropDownListFor(m => m.CEP.IdCidade, (SelectLi...
asked on 27.11.2015 / 17:29
1
answer

Use of while within another while in PHP

What happens in my PHP code is this: I make a query in the database and with that a DO WHILE (while that query returns records), it displays some information on the screen (based on the query, of course). Until then, all right. However I need no...
asked on 24.11.2015 / 23:57
1
answer

How to change the volume of an iframe video by javascript?

I have tried the code below to solve. var volumeIcon = 1; $(".ico-volume").on('click', function(event) { if (volumeIcon == 1) { $(this).find("img").removeAttr('src'); $(this).find("img").attr('src', 'img/ico/volume-out-ico....
asked on 20.11.2015 / 13:35
1
answer

Get autocomplete return and put on different inputs

I have the following script <script type="text/javascript"> $().ready(function() { $("#course").autocomplete("teste1.php", { width: 260, matchContains: true, selectFirst: false...
asked on 03.12.2015 / 17:44
1
answer

Developing in Python with Visual Studio 2013

I'm trying to develop in Python using Visual Studio 2013 or 2015 because I'm already used to IDE, but I have no experience with the language. In the English SO there is an issue that lists Visual Studio as IDE but many resources are like 'con...
asked on 19.11.2015 / 17:05