Questions tagged as 'javascript'

0
answers

Calback not working Swipeout in Framework7

page comanda.html <div class="list"> <ul> <li class="swipeout deleted-callback"> <div class="item-content swipeout-content"> <div class="item-inner">...
asked by 17.12.2018 / 17:53
3
answers

Modal does not date in Electron, how to solve?

I have a modal problem. My problem is that modal, does not close when clicking the button, tried in many ways, but none worked. How can I resolve this? <script> var read = require('read-file-utf8') var loki = requir...
asked by 29.12.2018 / 23:39
1
answer

Call method on another component Angular is giving error

Whenever I try to call a method from another Component in the Angular, it returns me an error. Below is my TypeScript code: Component1: metodoAlertar() { console.log('bls') } Component2: cpmn: Component1Component; construct...
asked by 17.12.2018 / 18:30
0
answers

Cancel request axios

I'm developing a live chat, and I have a problem that is as follows: There is a chat list with several conversations, and when I click on one of them, the component messages must make a request with the axios and put the messages on the screen,...
asked by 17.12.2018 / 16:27
0
answers

Pass value from child to parent in react

I'm having a problem and have tried several ways to solve it ... I need to get the value of the child element and pass it to the parent. Within this form, I have these plus and minus buttons (if there is no shorter than this, it puts an X)....
asked by 17.12.2018 / 19:04
1
answer

Array in PHP that communicates with JavaScript

I have this program that puts selected according to value : <!--inicio if option = selected--> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script><script>$(document).rea...
asked by 07.03.2014 / 14:50
1
answer

Session variables in ASP.Net

I have a method in AJAX that sends me a certain value, when so requested, for a session variable (a list of strings in this case). Session Variable private static List<string> ListData { get{return (List<string>) Session["Li...
asked by 27.04.2014 / 12:14
1
answer

Load var into jquery with data coming from DB by Controller

The var str has script with fixed values. How do I load these values from a DB through a controller ? I already have the method that brings me this. var str = ""; var data = []; $(document).ready(function () {...
asked by 01.05.2014 / 16:22
1
answer

Copy HTML and change ng-model

I have a piece of HTML that I'm duplicating via HTML. Within scope, however, the ng-model is not working. HTML: <html ng-app="App" ng-controller="Theme" > <head> </head> <body> <div id="parte...
asked by 02.05.2014 / 03:57
1
answer

Return / Scope problems in CoffeeScript / Javascript

I have in Rails a get '/estados_por_pais/:pais_id route that returns me a JSON array with states in this country. This works perfectly. I created a CoffeeScript class with a static method that should fetch this array of states: class...
asked by 02.05.2014 / 16:30