Questions tagged as 'javascript'

1
answer

Handling / Handling return of DropZone in JavaScript

I need to know how to handle the server return to display that the uploaded file was not saved! The server return object: public class JsonReturn { public bool Ok { get; set; } public int LinhasAfetadas { get; set; } public stri...
asked by 04.07.2016 / 16:51
1
answer

How to hide multiple checkboxes at once when selecting a checkbox in javascript

Good afternoon, how do I hide multiple checkboxes at once when selecting a javascript checkbox follows the code below <!DOCTYPE html> <html> <body> <p>Click the button to loop through a block of code as long as...
asked by 03.08.2016 / 20:49
0
answers

Input and Json problems with quotation marks

Hello. I'm developing a web application using SpringFrontEnd and a Restful API on the backend. The front is in javascript getting API data. Here's a problem .... When entering a field in some Input or Textarea It breaks the code and returns 4...
asked by 22.06.2016 / 22:31
0
answers

How to link with another page having the option to choose the value in the combobox?

My page has a div that makes link with another page, that other page has a combobox , where every value brings me a different table from the database. JavaScript that links to the page: <script> func...
asked by 21.06.2016 / 17:45
0
answers

Passing textarea value to variable

I'm trying to send the contents of a textarea to another page, as per the code below: <textarea id="mensagem" rows="8" cols="100" maxlength="500" style="border-radius: 6px; resize:none;width: 90%;height: 65px; margin:0 auto;">...
asked by 23.06.2016 / 03:13
0
answers

Use json with PHP and MySql

Well, I'm trying to use Json to fill out a form with some data, the problem is that I have tried several forms and it still does not work and I already have it here is a big mess. / p> In First Needed Jquery, what is already added. Second...
asked by 23.06.2016 / 15:06
2
answers

How to lock submission through an ajax request by a bind () button event

The ajax request, returns me "1" or "0". Every time I click the forward button, however, it is not blocking the submission. How do I validate the values, if I have a "0" answer, it should block the submission method: DDWFrontEnd = function() {...
asked by 17.06.2016 / 00:13
1
answer

.htacess Configuration - Dynamic Error Page

I would like to know if it is possible to generate a dynamic error page from the parameters passed to an html page and take these parameters through a javascript code? Or in any other way you do not need to create a page for each error. Examp...
asked by 17.06.2016 / 16:07
2
answers

Is this a correct example of inheritance in JavaScript?

I'm looking at ways to apply Object Oriented in JavaScript. I found a solution for using inheritance. I would like to know if there are better ways and how to encapsulate my classes. What I've been doing: People = function(name){ this.name...
asked by 25.02.2014 / 14:45
1
answer

How to detect if the browser accepts xmlhttprequest events?

It's the following, darned, to make my object compatible with older browsers (if not scold me) I've created a new problem. It is difficult to divert the path according to the browser version because it was not so standardized, browsers accepted...
asked by 18.06.2016 / 22:02