Questions tagged as 'javascript'

0
answers

Rename objects, properties, and methods in JavaScript

How can I rename objects, properties, and methods to the names I want, thus replacing the old ones that would no longer exist. For example, I tried the following code: documento = document; documento.corpo = documento.body; documento.cor...
asked by 08.03.2017 / 12:25
0
answers

How do I store checked-in Checkboxes values?

Hello. I'm making a system that allows access to folders. I look for the folder, which has its id and permissions saved in the database, selecting it, loading its subfolder and checkboxes are loaded to determine the permissions that users will h...
asked by 10.03.2017 / 14:14
1
answer

two functions within the onchange

Colleagues. I'm trying to put two functions inside the onchange, but the functions only work when I take one or the other. onchange="soma(); alterar();" How could I solve this? Thank you!     
asked by 23.09.2015 / 17:32
0
answers

External js function in jsp

Hello, I want to use an external js function, a js typeahead, and call it in the input of my jsp, but it is not working accordingly. Importing js from my jsp. <script src="javascript/todospaises.js" type="text"></script>...
asked by 10.03.2017 / 04:08
0
answers

List json data in ul li

People, I have a system here that it takes the data in a JSON and lists it in an HTML page, however it has the list as follows: it only displays a title and every time I update my browser it displays the next title. I wish it was one undernea...
asked by 27.02.2017 / 16:46
0
answers

Upload file is not following the code

When I upload a file, it first does the progress bar with JS, and then it moves the file that has been uploaded to the folder. The problem is that it ignores echo 'começo' and echo 'final' , and I'd like to do a test there, somethin...
asked by 02.03.2017 / 16:49
1
answer

I can not search the screen for javascript

<html> <head> <meta charset="utf-8"> <title>P1-2017-RAD I</title> </head> <body> <form action="javascript:void(0);" method="POST" onsubmit="cadastro.add()"> <input type="...
asked by 21.04.2017 / 14:59
4
answers

Fill in leading zeros in JavaScript

I need to insert leading zeros in a input text field. Since this field can be up to 5 characters + a checker digit That is, I need to fill in the leading zeros according to what the user types, for example: 123451 = 12345-1 12341 = 01...
asked by 18.10.2014 / 00:20
1
answer

AngularJS 1.6 with asynchronous content loading of the jQuery Steps plugin

I have a problem that after loading HTML content dynamically asynchronously with the jQuery Steps plugin: / p> <section data-mode="async" data-url="test.html"></section> AngularJS does not detect the content and thus al...
asked by 25.03.2017 / 01:24
0
answers

Websocket and CakePHP

How to integrate Websocket into a CakePHP 1.2 system running on an Apache server with a PostgreSQL database? I need to do a chat, and all the conversations will be saved in this bank, separated by system users, like Facebook. The current c...
asked by 28.03.2017 / 16:58