Questions tagged as 'javascript'

1
answer

Simulate load event in a javascript class

I have a class with an ascynchronous method that defines several properties of my object, what I want to achieve is to obtain these properties but only when they were already defined by my method, something like the load event of the html elemen...
asked by 19.02.2017 / 01:13
3
answers

switch out of cycle for in angularjs

I have an arrangement in which each item has a status, for what I do is look for the GENERATED or PENDING states and depending on each search a number is assigned to the variable value and then used in a switch and depending on that value do cer...
asked by 07.02.2017 / 04:07
2
answers

how to display various data in a label of charts.js?

in a label I want to put the dates that bring me what I received php ... the problem is that it only shows me a date and does not cover all the dates in label .. CODE $.ajax({ type: 'POST', url: 'api/grafic...
asked by 20.02.2017 / 00:34
3
answers

How do I get the url of an image with an asp.net element?

As I can get the value of the entire url of my selected image, my current code is as follows: Javascript code var image= document.getElementById('<%=fileImage.ClientID%>').value; .aspx code <asp:FileUpload ID="fi...
asked by 31.03.2017 / 20:21
2
answers

Join two routers in VueJS

I am creating an application of vue.js that actually a series of small applications. My goal is to isolate them from each other. My main obstacle at the moment are the routes. At this moment I have a single file of routes, which looks somet...
asked by 31.03.2017 / 18:06
2
answers

MyDatePickerModule is not an NgModule

I am using this module in angle 2 and this error is being presented, you can help me. app.module.ts import {MyDatePickerModule} from "mydatepicker"; @NgModule({ declarations: [ AppComponent, TestComponent ], imports: [ BrowserModule,...
asked by 25.01.2017 / 04:13
1
answer

apply eventRender in fullcalendar

Good, I'm starting to use fullcalendar in my project so I do not know enough yet. my problem is this: I am bringing several data in JSON format to my fullcalendar, but only one of them, I need to apply the editable property: true, and also the e...
asked by 15.02.2017 / 00:06
1
answer

Modify session variable in onclick

I have 2 images, the idea is that when I click on one of them, I save the associated category in a session variable. I searched for information and tried with ajax, but mysteriously it returns ... code ... not the variable, that is ... something...
asked by 24.01.2017 / 15:30
1
answer

ERROR 403 when uploading my page to my web server

Hello everyone, I have a 403 error (Forbidden), which occurs when I make a request via jquery (ajax) to a php. The funny thing is that I miss this error when I try to save a css tag on the server (background-image: url ('')). and it does not hap...
asked by 14.02.2017 / 21:35
1
answer

Control the timming in calls to ajax functions

I have a function in javascript on a page, which queries a data through the controller .. which then goes to the BD .. etc .. the issue, is that the function in javascript, which is called in the event $ (document) .ready (function (), does not...
asked by 09.06.2017 / 12:58