Questions tagged as 'javascript'

1
answer

innerHtml does not work page

I'm creating a page only with JavaScript without using Jquery but I want to insert the buttons on the page depending on the number of elements and the number of elements per page, the innerHTML of line 34 does not insert the buttons on the page...
asked by 15.08.2016 / 19:56
0
answers

How to hide in this case the top bar of a pdf viewer?

This is my controller if (!response.CodError) { $scope.datosImprimir.Resultado.PDF = response.Valor; $scope.contenido = $sce.trustAsHtml('<embed width="100%" alt="pdf" src="data:application/pdf;base64,' + response.Valor + '" class="...
asked by 29.08.2016 / 15:34
0
answers

Return to my default selection with AngularJS

I have a select that contains several options that are hidden but are shown according to which one is chosen, for example, when selecting the option Level 1 the option Level 2 is shown and when selecting the option Level 3 the options are shown...
asked by 06.07.2016 / 20:03
0
answers

Unit tests with QUnit

Good afternoon, I am working on a project with Intel XDK and I use javascript functions in html files. I need to perform unit tests to verify that the functions work correctly. I am using Qunit for it and I get an error in the test when looki...
asked by 06.07.2016 / 15:45
1
answer

Delete a class by clicking

To certain elements that are accessed by their id and they are identified as List and wanted to delete the class if, and only if, it has the class ViewDelett0element . The code below was an attempt, I would like to know if there is any pro...
asked by 18.07.2016 / 19:31
0
answers

gulp-useref does not copy the files

I have a problem with gulp-useref. I have the next task. gulp.task('compre', ['inject'], function () { return gulp.src('index.html', {cwd: '/app'}) .pipe(useref()) .pipe(gulp.dest('dist')); }); I run inject without problem but...
asked by 21.07.2016 / 23:57
2
answers

jquery DataTables does not allow opening modal dialog after 10 rows

I have a problem when using jquery Datatables , I do not know why it does not allow me to open modal dialogs that are called after row 10, everything works normal in rows 1 - 10 of the table, however I do not know what happens that all the othe...
asked by 09.05.2016 / 22:44
1
answer

Show and hide the options of my select with angularJS

I present my problem: I have a dynamic form, this has several fields and among them I have a selection that has the options: chapter, subchapter, level 1, level 2, level 3 and level 4, every time I select an option of this select a new one is cr...
asked by 23.06.2016 / 19:14
0
answers

print on point or receipt form from jsp

Hello, I have a form in jsp and I want to print it in a printed form, I explain a receipt printer, should I add a library or how could I do it? this is the jsp <%-- Document : ingreso Created on : 20/07/2016, 12:59:42 PM A...
asked by 22.08.2016 / 20:51
0
answers

Is it possible to make a ng-repeat run again when updating data?

I have an app in angular but I have the next mess. The menu of the app is blank and after logging in it calls a function that brings the menu enabled for the user. The problem is that the menu is not updated, it is as if the ng-repeat did not...
asked by 02.08.2016 / 22:25