Questions tagged as 'javascript'

1
answer

Count characters of an input ignoring the maskedinput

I have a script to advance the cursor to the next field of a form when the current field reaches its character limit (< a href="https://en.stackoverflow.com/a/111959/33193"> font ). When I tried to put the maskedinput gave problem, because...
asked by 12.02.2016 / 13:59
2
answers

How to intercept and cancel key pressed in IE and firefox

How to intercept and cancel key pressed in IE and firefox? I'm trying to javascript pure but if I can not be JQuery . I used the code below but it only worked in chrome: <!DOCTYPE html> <html> <head>...
asked by 01.03.2016 / 20:28
1
answer

How to hide title when radio is selected?

I want to put a list of articles on my site and I want you to have the name and a short description of each article next to a radio. When the radio belonging to an article is clicked, a description of the article appears. This is already working...
asked by 01.03.2016 / 22:33
1
answer

Refresh Bootstrap-table

The problem is that I can not get the table (bootstrap-table) to update the data after the registration. I'm trying to do this via JS, but to no avail. I've tried the following: - JS - $.post($form.attr('action'), $form.serialize(), functio...
asked by 10.02.2016 / 14:55
1
answer

Return JSON giving as undefinided in jQuery

I have this ajax request: $.ajax({ type: "POST", url: "retorno.php", success: function(data){ alert(data["nome"]); }, error: function(erro){ alert(erro); } }) And the file return.php: <?php...
asked by 29.02.2016 / 13:11
1
answer

Replace in angle

   <br><br> This powerful creation - forged in the image of a gargoyle -    kept <br><br> safe in his journeys, allowing him to    to carry out their important work without fear of retaliation from those    ...
asked by 28.02.2016 / 18:55
1
answer

How to change the background-position property?

I would like to know a javascript that changed the background-position of a given div. I'm trying to get the position of the background.     
asked by 13.02.2016 / 17:35
2
answers

javascript event to scroll over an area or div

I have a page where an area or div that does not have the side Scrollbar, simply because it is not necessary. I would like to capture the event when the mouse rotates the roulette over that area because I wanted to use the mouse roulette to Zoom...
asked by 12.02.2016 / 15:04
1
answer

Data tables with bootstrap

Someone has some simple tutorial to apply the data table in the bootstrap, tried the forms that have on the site but could not, with skell css worked perfectly but with bootstrap does not appear. <link rel="stylesheet" type="text/css" href=...
asked by 15.03.2016 / 14:22
1
answer

Keep variable value between layers of a function

I wanted to make a website where when I click on the image it doubles in size and width, but can only do it once, and if you do more, a warning will appear to prevent it. Likewise, if it is in the default size, you can not decrease it, and a war...
asked by 12.03.2016 / 20:20