Questions tagged as 'javascript'

1
answer

Javascript does not calculate when working with @using (Html.BeginForm ("", "", FormMethod.Post))

I have a view in which within it I add HTML and Javascript to do mathematical calculations, until then everything works fine, the problem arises from the fact that I use the @using (html.beginform ...) ... then this Javascript stops working, wha...
asked by 29.03.2018 / 07:35
0
answers

Error sending data to mysql with ajax

I'm trying to send data from a form with JS to PHP through Ajax but I can not get it sent. This is the code of a separate sheet of JS function objetoAjax() { var xmlhttp = false; try { xmlhttp = new ActiveXObject("Msxml2.XM...
asked by 29.03.2018 / 07:01
3
answers

Call a function that takes parameters and returns two values

I have done several searches on the Internet, and I have found how to return two values in a function, and then how to access them, but what I need is to use a function to which a parameter passed and which in turn returns two values, I know thi...
asked by 22.03.2018 / 12:57
0
answers

UI5 - Pass file uploaded with FileUploader in a Fragment to PHP

I am working with OPENUI5, PHP and MYSQL and I have a problem. I have a call view (App.view.xml) that calls a frament when I press a button (CreateDialog.fragment.xml). This fragment contains basically a SimpleForm with 2 fields (FileUpload a...
asked by 22.03.2018 / 14:25
1
answer

Problem with Angular BlockUI - (AngularJS - Javascript)

I have the following problem, I need to block the UI when I upload a file and it is being processed, for this I use Angular BlockUI , but the problem is that the screen is blocked once the process is finished and not during it. var proc...
asked by 22.03.2018 / 12:17
0
answers

Using eventListeners in a vue2 component

I am new to this web development but the fact is that I am trying to create a web application that contains a google map. Following some tutorials I created this component: <template> <div class="google-map" :id="mapName"></di...
asked by 22.03.2018 / 12:09
0
answers

Jquery change the content of an element to a fontawesome icon

I have this HTML code in a TPL template called "customer-form.tpl" where I generate a series of buttons in a TPL template to show a user's edit fields, where the fields that come by default are rendered in prestashop and what I do the same is in...
asked by 28.03.2018 / 16:06
1
answer

How to filter nested lists of objects 5 levels

I'm investigating how to filter lists of nested objects. But I'm not capable .... The object that I try to filter is: var objList = [ { "name": "Object0Name", "id": "Object0ID", "Object1List": [ { "id":...
asked by 19.03.2018 / 21:07
0
answers

Error with bar menu Boostrap data-hover="dropdown"

Very good, I have a Boostrap menu bar that is partly generated with a javascript function, the result of the function I put it in a div of the bar called menuCategories. My intention is to add functionality to it data-hover="dropdown" so that wh...
asked by 16.03.2018 / 12:23
1
answer

condition of days to show boostrap datepicker

I have the following problem: I have a list of services and each service has a production time, for example: Service 1 - > 7 Days Habiles. Service 2 - > 5 Daily Days. This list comes from Mysql through a SELECT nested by ajax. What...
asked by 04.04.2018 / 02:32