Questions tagged as 'javascript'

0
answers

Vue.js 2 "Problem" with Single-File component

I am working on a project with Laravel 5.5 and Vue.js 2.x, after searches and questions I came to the use of components. But still I have an error when the page is rendered, I get the following error:    [Vue warn]: Property or method "quar...
asked by 06.02.2018 / 15:06
0
answers

I do not get the icon of my app in react native

I have generated my apk as it is stated in the react-native documentation and it does not give me problems at any time, I run the command react-native run-android --variant = release and it works perfectly in the emulator, but when I install the...
asked by 06.02.2018 / 15:30
0
answers

Move the date with Jquery from a datatimeField generated with Django

I have a view that has a datetimepicker that I generate with Django such that: class una(forms.Form): start_edited_date = forms.DateTimeField(label="Fecha inicio", widget=DateTimeWidget(usel10n=True, bootstrap_version=3), required=False) end_e...
asked by 06.02.2018 / 18:23
1
answer

Sweetalet does not work well when deleting a record from a table

I have a dataTable with a delete button and I am implementing the sweetalert library. The problem is that clicking on the delete button shows the modal sale of the sweetalerty but does not eliminate. What could be the problem? The Code...
asked by 08.02.2018 / 16:18
1
answer

change the action of a form depending on the value of an input

this is my form: <form action="" id="comprobante" class="frm-ventas" method="post"> <input type="text" name="nombre" id="nombre"> <input type="hidden" name="cod" id="cod" value=""> <button type="submit"> </fo...
asked by 08.02.2018 / 15:14
0
answers

Disappearance of array data returned with ajax

Hello, I have a vector with objects (PHP classes) when I'm going to return it for ajax. This appears empty, I call the class in the main view and when I'm going to insert them, the fact is that if I see the vector before returning it is correct,...
asked by 06.02.2018 / 08:14
0
answers

I can not access the value of props in vuejs

Hello friends, I have a child component to which I can not access the value of a property that I passed through the props. I have an object arrangement that has two full arrangements inside, values: { value1: ['val1', 'val2', 'val3'],...
asked by 05.02.2018 / 21:50
1
answer

Add content from a column

I need to add the content of a table that I am loading with ng_repeat . It could also be running the entire object from the controller.js but I'm not sure how. dato1 dato2 dato3 xx xx 5 xx xx 8 -- -- 13 tfoot     
asked by 26.01.2018 / 19:48
0
answers

Save obj with php in mysql

I have this onClick in js $("#TblAsigRol > tbody").on('click', '.c_BtnGurdarRol', function(event) { var nombre= event.target.id; var toRemove = 'btnguardar'; var id= nombre.replace(toRemove,''); //se toma la c�dula...
asked by 26.01.2018 / 19:31
1
answer

Event "onclick" within variable and Uncaught SyntaxError: Unexpected token}

My idea is to add rows to a table with an "onclick" event in them. As you can see, in "var table" I create the "tr, td" and I pass the styles. So far, no problem, but when I launch it gives me an error of the type "Uncaught SyntaxError: Unexpect...
asked by 30.01.2018 / 15:06