Questions tagged as 'javascript'

1
answer

How to know which State I'm coming from, using ui-router?

I'm using Ui-router's Angular-Ui and the only thing I need to know is which state I'm coming from. I already have for example; app.controller("MainCtrl", function($scope,$state) { //$state.current ok, mas de onde eu vim? }); How to...
asked by 27.05.2014 / 23:05
1
answer

Markers Google Maps V3 JavaScript

var map function detectBrowser() { var useragent = navigator.userAgent; var mapdiv = document.getElementById("map_canvas"); if (useragent.indexOf('iPhone') != -1 || useragent.indexOf('Android') != -1 ) { mapdiv.style.width = '100%';...
asked by 02.06.2014 / 17:53
1
answer

Problems with EventHandler .click () and .animate ()

When I use $('#nervID').mouseout(function(){/* ... */}); alert() works and .animate() works normally with opacity working and being applied to elements with class .page The problem is that if I change .mouseout() to...
asked by 03.06.2014 / 21:34
1
answer

How to display a sequence of images from a single link?

Normally when using image gallery plugins (Lightbox, Fancybox, etc.), we load image A from thumb A, image B from thumb B and so on. By setting a relationship ( rel="x" ), we were able to display several gallery images using "next" and "pre...
asked by 26.05.2014 / 19:59
2
answers

How to focus on a specific DIV and blur the rest

Is there a Javascript / Jquery library of a target delimiting an area in a specific DIV and blurring the rest? Example I added a new item to the menu and as soon as I loaded the screen a focus on it and blurred the rest to be...
asked by 31.10.2018 / 19:04
1
answer

Disable the ability of the ENTER key to act on the action of another button

Hello, everyone. I have a form in which it has two tables, inside the second table it has an input text. This input text searches the record when you press the ENTER key. But when I press ENTER, it is activating a class accordion button an...
asked by 05.11.2018 / 18:25
1
answer

Show all facebook posts in a list

I have numerous profiles and fan pages that I must control the content. Entering one by one gives a gigantic job. So I'm making this application to show all posts by date order, separated by profile / fan page. Using Facebook Graph I can r...
asked by 11.02.2014 / 14:05
1
answer

How to update a page after insert, update or delete with ajax without reflesh

I have code on page extena delete.php that does the actions, HTML: <div class="modal fade" id="modalAddfoto" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"> <div class="mo...
asked by 21.11.2018 / 19:58
2
answers

Remove a class from a Tag with more than one class

I'm learning the web world, so I'm having trouble even checking to see if there are similar questions, if you have any similar forum answers, I apologize. Now I'm going to doubt it. (I took a long time looking for something, I did not find it.)...
asked by 21.11.2018 / 14:45
1
answer

Edit modal data fill with php database

I have a form that does the editing of the database data based on the received id. /* função para atualizar os dados quando clicado em submit */ $('.editfoto').submit(function () { var form = $(this); var dados = new...
asked by 22.11.2018 / 15:46