Questions tagged as 'javascript'

1
answer

help with physical map

As I highlight an area of a country with leafletjs the only way I have seen is using a Geojson file I used mapzen and it works but there is another way of doing it this way the problem that I have is that the geojson files weigh heavily (up to 1...
asked by 01.09.2016 / 05:27
1
answer

Call signalr hub from a modal window

I'm trying from a modal window to call the hub but it does not reach the hub, without giving any error Here the code: -Function hub: public void Estado(int estado, int id) { RepositorioVisitas.AutorizarCancelarVisita(id,estado);...
asked by 08.08.2016 / 14:51
1
answer

What is this error in console with javascript?

I am running an asynchronism in js with es6 but when implementing it the browser in the console I get an error like the following: TypeError: (0 , _translate2.default) is not a function(…) why is this error because it appears?     
asked by 19.07.2016 / 16:16
1
answer

Problem with checkboxes in DataTables jQuery

I'm working with jQuery's DataTables, what I do is include checkboxes to each row, so that you can select several rows at a time, the checxbox ticked from a page shows me their ID for those first 10 rows, but I change to the other page, and when...
asked by 17.08.2016 / 13:32
1
answer

JavaScript parameter pass

I try to make a function in JavaScript that receives two parameters, it works perfectly with a single argument but when I try to pass 2 it stops working and I do not find the fault any idea? This is how I call the function out.print("&l...
asked by 04.07.2016 / 19:54
1
answer

how to make the default value of ng-options stay selected

I have the following case when using ng-options in my dropdownlist. This is my html: <div class="col col50 colmin"> <div class="pull"> <div>{{selectIdCuenta.nombreAlias}}</div> <sele...
asked by 06.09.2016 / 01:17
1
answer

LLamar Asp.net WebMethod using Jquery Ajax

I am calling an Asp.Net C # method since a script works perfectly for me when it is in the url: 'default.aspx / NombreDelMetodo' but when I enter the project where I must implement the code I have problems with the url try these three forms bu...
asked by 04.09.2016 / 22:14
1
answer

Update using ajax and javascript

I have the following options, which should update two different sw: in the first I have the options of ninguna, aut, y hab and in the second I have the option of sw_visible , which is 1 or 0 dependent if it is activ...
asked by 08.07.2016 / 16:04
1
answer

Mobiscroll format date

I am using the Mobiscroll library with jQuery and I have everything for languages and date formats, my question is, how can I make this date format only visually (depending on the language)? ) and when sending it by POST it is sent in a specif...
asked by 11.07.2016 / 10:11
1
answer

Hide URL in browser address bar

I have an application in aspx and I use the bootstrap navbar to build the navigation menu, my question is how can I hide the url in the browser so that each time I change the page does not appear the route, I the menu is dynamically assembled fr...
asked by 26.07.2016 / 01:40