Questions tagged as 'javascript'

0
answers

Using navbar-collapse bootstrap [closed]

When using the navbar-collapse bootstrap on small screen (cell phone), I wanted to minimize when choosing a menu item. Has anyone ever gotten this?     
asked by 19.08.2015 / 22:10
0
answers

Ajax error return null value [closed]

I have a function in ajax: $.ajax({ type: "POST", url: "@Url.Action("FiltraLevatamento", "Consulta")", data: JSON.stringify(jsn), contentType: "applic...
asked by 19.08.2015 / 19:09
2
answers

How to keep page updated without refresh?

I'm trying to create a page that stays up-to-date without having to refresh. I created a Javascript function that looks for select and while of another page, but this is generating high CPU consumption and the server faces have...
asked by 10.09.2015 / 05:17
0
answers

How to use modal alert within PHP form?

I'm trying to submit a form within the same page with $_SERVER['PHP_SELF'] and from that receive a "registered product" alert with a modal Boostrap. I believe I am not able to link the submit action with the alert. Working code...
asked by 12.09.2015 / 20:17
0
answers

how to put touch swipe event in Slick Carousel?

I wanted to know how to add touch swipe events to my slideshow slick carousel . $(document).ready(function(){ $('.slideshow').slick({ autoplay: true, autoplaySpeed:4000, speed:800, }); });     
asked by 30.09.2015 / 17:27
1
answer

Manipulation of parents and siblings JQUERY

I have a question in JQuery. I have the following code, example: <div class="col-sm-2"> <div class="md-checkbox"> <input type="checkbox" id="checkbox1" class="md-check"> </div> </div> <div clas...
asked by 30.09.2015 / 16:23
1
answer

(BackboneJS) Run a View after return from the server

In my application I have 2 Views . One of them is sending the data to the server when the client clicks on submit . The other needs to wait for this response and run to work with the 'upgraded' data. How would I do such a thing?     
asked by 18.08.2015 / 20:02
1
answer

What is the callback in javascript when it is named (directly in the declaration)?

How do you call the callback in javascript when it is named (directly in the statement)? Example: Common declaration of a function: function fn() { console.log(fn); // Imprime fn() return 'do'; } fn(); // 'do Declaration (I d...
asked by 18.08.2015 / 21:37
0
answers

Marker displays wrong infoWindow

I'm using the Google Maps API to create Markers in addresses I'm reporting to the js file. Next to this API you also have autocomplete of Google, to complete the address I'm typing in input . The script is working perfectly,...
asked by 17.08.2015 / 21:55
0
answers

Use custom alert in javascript

I'm trying to use something other than the default javascript alert and apparently switching syntax does not work. For example, this code works. $mysqlInsert = mysqli_query($conexao,$sqlInsert); if (!mysqlInsert) {...
asked by 04.10.2015 / 22:23