Questions tagged as 'javascript'

1
answer

How to use Html.BeginForm with JavaScript / Ajax

I have a View to generate Report on my system and I'm using a BeginForm. The idea is when I submit the submit to my GridReport which is another View, load inside one that I have inside the ViewReport. I want to do it with Ajax, but I can not....
asked by 22.07.2015 / 13:56
1
answer

Repeat element with ng-Repeat

I have a form, this one which can be inserted plus a group of "Name" and "Agency" only when clicking the button. I'm using AngularJS and ng-Repeat to repeat the fields the moment you click + . However, the list of agency names "loses" the momen...
asked by 22.07.2015 / 19:27
2
answers

Error trying to use isset in JavaScript

I do not know what's wrong with this JavaScript code: if( (isset(n1)) && (isset(n2)) ){ document.getElementById('resultado').innerHTML = n1 + n2; } I think I'm mixing PHP with JS. How can I resolve this?     
asked by 20.09.2015 / 03:25
2
answers

Remove previous route from Google Maps

In a multi-location application, I have a button for calling a route between two points using the setDirection function, as inserted below. I would like support to be able to remove a route traced earlier after clicking on another marker....
asked by 07.11.2015 / 04:41
1
answer

How to format money with jade in node.js?

I have to display monetary values in my view, but it is appearing without formatting. For example, 5.4237 should be displayed as R$ 5,42 , but I do not know how to format this value using Jade with node.js . I need the value to...
asked by 05.11.2015 / 13:48
1
answer

Open modal with JavaScript to select certificate and send to server

When we enter the eCAC - Virtual Service Center page and click on Digital Certificate on the right side of the screen opens a modal to select a certain certificate that we configure in the system (this if there are certificate (s) in the confi...
asked by 06.11.2015 / 19:48
2
answers

After ajax action, data is not saved in the mysql database

I am capturing latitude and longitude through the Cordova plugin, and after that I store it in two variables and then, through an ajax request, I transfer these values to a PHP script where I am saving the data to a table called a map. The probl...
asked by 04.11.2015 / 23:52
1
answer

Orientation Ruler

In some editors we have an orientation ruler in which we can make some settings, for example  the spacing between text and foliage. I need to produce something like: IcurrentlyuseaTextEditorcalled Summernote , it returns all the text in html...
asked by 05.11.2015 / 19:23
2
answers

Script to open facebook messenger application

I'm creating a app , and I wanted to insert a button to open a conversation on a particular facebook page, but by the messenger application and not by the browser, / p>     
asked by 26.06.2015 / 05:12
2
answers

Multi-language system

I have a website and would like to implement a multi-language system. I have some doubts about good practices. I would like to have only one domain ****.com . I think this would force me to use systems implemented in php, or other languag...
asked by 25.06.2015 / 22:17