Questions tagged as 'javascript'

1
answer

putting html in title, using query

I have a tooltip plugin that works with jQuery, it's very simple and practical. The problem is that I'm trying to put an html inside it. And it returns me with html code instead of the result. Does anyone know of any way to resolve this? Foll...
asked by 02.08.2016 / 16:32
1
answer

Names in inputs, with ignoring capital letters (eg, from, of, the, etc)!

In which personal names I want to leave it but organized, I have a script that leaves the first capital letters of the name, but it does not ignore those of, etc, etc. I wanted to know if it is possible to add this exception to the script !...
asked by 01.08.2016 / 20:07
2
answers

Is it possible to do this with table td?

Okay, let's see: //PHONE <table> <tr> <td>COL 1</td> <td>COL 2</td> </tr> <tr> <td>COL 1</td> <td>COL 2</td> </tr> &l...
asked by 02.08.2016 / 05:06
1
answer

Form within an html Form

A doubt that may be simple, but I had no choice: I have a main html FORM, which captures all the data in a table, the problem is that there are images uploaded inside that form, and that upload is instantaneous without the form submit (made w...
asked by 01.08.2016 / 19:16
1
answer

doubts with if else in java script

I'm using AngularJs and I have this method $scope.login = function (email, usuario, senha) { $http.post("/Login/login", { email: email, usuario: usuario, senha: senha }) .success(function (data) { debugger; if (data ==...
asked by 01.08.2016 / 00:42
1
answer

Node.js and Express - TypeError: Can not read property

I'm getting the following error in the console: TypeError: Can not read property '_id' of undefined I'm reading the book "Mean Full Stack Javascript ..." from the code house. During the development of the application presented in the book, I...
asked by 30.07.2016 / 06:49
3
answers

How to open a new page when clicking on the table row?

I created a page that displays database data in a table, generated through the dataTables (Jquery) plugin. It works as follows: when the user clicks on the table row, it is redirected to an edit page. The line of code that does this redirect...
asked by 20.07.2016 / 00:38
1
answer

Accept comma in jquery / Javascript calculation

The system does not work when you type comma number, for example 2,14, 22,14 and etc ... only with end point 2.14, 22.14 and etc ... Below is the function I use. How to use function with the number typed with comma, do not present the error NaN...
asked by 21.07.2016 / 20:52
3
answers

How to send Json array from Jquery to PHP

I have a table where the rows constantly change order, I need to write this table to the bank. From the moment I will no longer modify the table I click on a "Confirm Grid" button, at that time saved that table in an array inside the jquery, and...
asked by 01.07.2016 / 14:29
1
answer

How do I return to the same place on the page after clicking the back button?

I am developing a portal, in it there are several news, when I click on one of them I am sent to a new page that treats this subject in full, my doubt is the following, I would like that after I click the back button I would return to the previo...
asked by 08.09.2016 / 15:40