Questions tagged as 'javascript'

1
answer

How to perform a callback after an "ng-show" or "ng-hide"?

I'm using the angular along with ngAnimate . With ngAnimate you can add some css classes in the element that applies ng-hide or ng-show to apply an animation of transition. I need to execute a callback at the end of an...
asked by 17.08.2016 / 17:54
1
answer

Move links to menu list when media size changes

I'm having a hard time putting some links inside another link. For example: #menu_header_right{ float:right; } .dropdown{ width:80px; position: relative; display: inline-block;} .dropdown-content { display: none;...
asked by 18.08.2016 / 18:18
1
answer

How to send data from a form generated by the Ionic Framework to a PHP file and return a JSON?

I've been following the Ionic Framework documentation and viewing tutorials on the internet, but there's no detail communicating with the server. I would like to send form data and receive information via JSON. Could you post a simple example...
asked by 26.10.2016 / 14:20
1
answer

how to open events in fullcalendar

Good evening, I'm using fullcalendar, but I can not open the event, just show it in the calendar. How do I get this in the code? $(document).ready(function() { $('#calendario').fullCalendar({ hea...
asked by 26.10.2016 / 04:40
1
answer

Add values in DIV

Hello I have 3 inputs, I would like that when typing something in input 1, insert the content into a div called result, and typing in input 2 is inserted into the result div and so on, without replacing the previous value in javascript. Ex...
asked by 26.10.2016 / 20:50
1
answer

JavaScript src link

Good, I have the following code, in a function Javascript , function(){ var noDataIcon = document.createElement("img"); noDataIcon.src = "~/Images/delete_database.png"; } It happens to give me an error in src, can n...
asked by 08.08.2016 / 18:05
1
answer

Tab system with jQuery

Galera I mounted a system of tabs using jQuery. Follow it below. $('ul.tabs li').click(function(){ var tab_id = $(this).attr('data-tab'); $('ul.tabs li').removeClass('current'); $('.tab-content').removeClass('current');...
asked by 06.08.2016 / 19:12
1
answer

pick input value and redirect page after submit

How can I get the value of an input and after the "submit" redirect to another page with this value in the url? Ex: site.com/busca/ BUY VALUE <form> <input type="text"/> <input type="submit" value="Pesquisar"/> </f...
asked by 06.08.2016 / 05:28
1
answer

Bank Boot: Get value correctly by the digitable line

I need to capture the correct amount of bank tickets through the digitable line, but I can not. Here's how: var linha = "34191.75009 01544.841545 78554.760005 4 25230000093423"; var valor = linha.substring(45,54).replace(/^0+/, ''); // R...
asked by 07.08.2016 / 04:10
1
answer

Show user name responsible for such non html ID

I'm not sure what to do, but I'm not sure what to do. When creating a new topic, this topic creates an ID or each topic has yours.  In the Index there is a list of topics created and an access button that leads to a certain topic. My question is...
asked by 06.08.2016 / 04:44