Questions tagged as 'javascript'

1
answer

Client Search by Name / Phone / Cpf JavaScript / C #

I have a page that lists the client, and I need to do a search by names, I have the method that does the research the problem and how to integrate it with the front end, looked for examples on the internet but I think my lack of notion let me un...
asked by 26.09.2016 / 15:23
2
answers

Javascript connection to the bank does not work

Hello, I'm trying to connect to the MySQL database with a Phonegap / Cordova project and I'm trying to troubleshoot. First I created the Cordova project and the only change I made was to import JQuery. So I followed a tutorial to make an ajax ca...
asked by 27.09.2016 / 15:46
1
answer

search function in a list angularjs

Hi, I have a function that searches a list for the occurrence of any string typed in the field that is passed as its parameter, it works fine for fetching these strings: $scope.$watch('q', function(newValue, oldValue) { if (oldValue != n...
asked by 23.11.2016 / 17:07
1
answer

How to submit a form with select without submit button?

Good evening, how do I submit a form with select without the submit button? For example, to create a filter that when you select the option it automatically submits the form without having the submit button. My form looks like this: <for...
asked by 22.11.2016 / 21:05
1
answer

Socket I.o does not update automatically

Hello, I'm using the Socket i.o and when I send a POST / EnviaTemperatura, it is not automatically updating on my site. What am I doing wrong? Node.js app.post('/EnviaTemperatura', function(req, res){ temperatura = req.body.temp;...
asked by 05.10.2016 / 14:13
1
answer

How much to use @ Html.ActionLink or Javascript

I'm having trouble understanding when to use @Html.ActionLink or javascript:document.getElementById('Comercial').submit() For example: <a><i class="fa fa-home"></i> Home <span class="fa fa-chevron-down">...
asked by 09.11.2016 / 16:50
1
answer

Duration of Notification

I'm using the Notification API, but I'm not finding a way to leave the message open until it's clicked or closed by the user. I noticed that Google Hangouts does this, the notification stays there until it's clicked. Does anyone have any ideas?...
asked by 11.11.2016 / 10:00
2
answers

Identify Browser - Internet Explorer

I need to know when the user accesses the website through Internet Explorer, execute a CSS. So that's fine, here is the code I used to apply CSS: <!--[if IE]> <link rel="stylesheet" type="text/css" href="app/template/css/apen...
asked by 09.11.2016 / 17:42
1
answer

Sequential number in a dynamic form

I have this JS to duplicate a registration: function duplicarCampos(){ var clone = document.getElementById('div_dados_historico').cloneNode(true); var destino = document.getElementById('destino'); destino.appendChild (clone);...
asked by 09.11.2016 / 16:09
1
answer

Canvas - draw repeated image

How can I draw an image by repeating until I fill in an area? Something like the effect of CSS property background-repeat . Where the image is repeated until it fills the entire area of the tag.     
asked by 09.11.2016 / 15:59