Questions tagged as 'javascript'

1
answer

Capturing elements by tag and inserting inside an array

Well, I'm mounting a merry-go-round on a test project, and I had a question, how can I, with vanillaJS , capture certain elements by tag , and put them within array ? The idea would be more accurately, to capture according to t...
asked by 20.03.2017 / 12:49
1
answer

My site does not load all the scripts, is it heavy? how to solve? [closed]

Good afternoon My site does not load all the scripts, is it heavy? how to solve? Example of an image that does not load: inthechromeinspectorobjectthefollowingmessagesappear: Website: link     
asked by 27.12.2016 / 19:44
1
answer

Total registered in Database with Script

My php page uses the following files "1-config.php = connects to the database" "2-total.php = connects to the Form and shows the total of the record on the page" In the Html of my main page I use <?php require_once("total.php"); ?>...
asked by 27.12.2016 / 18:59
1
answer

Do I need to enable Cross-Origin Requests for ASP.NET Web API?

I did a test application, where I point to a web api that is online, the address of this api works and return the data if it is posted in the browser URL, it does a GET. In the test application I have: <Div> <Select id="metho...
asked by 27.12.2016 / 20:25
1
answer

apply css property directly by javascript and a good practice? [closed]

I am creating a website and for me to be able to keep a bigger control and save time having to be changing the tab all the time I am applying the properties direct by javascript, I would like to know this influences something insira o código...
asked by 27.12.2016 / 03:32
1
answer

Sticky menu with problem when updating page in Firefox

The Sticky menu I made is with a problem only in Firefox. If I update the page with the Sticky menu active, ie when the scroll bar is not at the top of the screen, the menu returns to the "default" and only activates the sticky again if I scr...
asked by 28.12.2016 / 11:59
1
answer

Confirm deletion in Laravel 5.4

I have the form below, in which a button deletes the record of the current line. <form class="form-inline" method="POST" action="/servidores/{{ $serve->id }}"> {{ method_field('DELETE') }} <input type="hidden" name="_t...
asked by 06.02.2017 / 14:16
2
answers

How to create a javascript to send a form to my email? [duplicate]

I contain the following HTML5 code: <div class="form"> <div id="sendmessage">Sua mensagem foi enviada. Obrigado!</div> <div id="errormessage"></div> &...
asked by 06.02.2017 / 00:41
1
answer

Browser notifications

I noticed that some sites for example facebook, when someone writes in the chat appears a notification in the browser even if it has facebook closed the same happens with news sites that when subscribing when a new news comes out I get the notif...
asked by 04.02.2017 / 17:59
1
answer

How do I redirect and send url get value to another page using Javascript?

I'm getting an url item with this code: function GetQueryString(a) { a = a || window.location.search.substr(1).split('&').concat(window.location.hash.substr(1).split("&")); if (typeof a === "string") a = a.split("#").j...
asked by 04.02.2017 / 23:02