Questions tagged as 'javascript'

2
answers

Browse associative array and show through DOM

I need to go through the following array: var estrenos = []; //array con los 3 estrenos, cada ID del article se corresponde con el INDICE del array estrenos['ant'] = { Titulo : 'El Hombre hormiga', Foto : 'ant_man_large.jpg', T...
asked by 14.11.2016 / 21:20
1
answer

How to detect if an object $ error of AngularJs forms is empty?

I need to deactivate a botton with ng-disabled if there is any error in a form. form(name="myForm", action="", method="post", novalidate) input(type="submit", value="Register" ng-disabled="//I need to get true here") I have tried th...
asked by 28.10.2016 / 23:43
2
answers

Get input value within a td in the table by Jquery

I want to be able to capture from a Datatable table some input inside Td by means of jquery that I can take those values by means of the id or the name. In my code I search for all input type number but apparently do not know which input to take...
asked by 15.11.2016 / 16:03
1
answer

convert array to json

I have this array    var array = [4,5,7,80,4,52,15,5]; and I want to convert it to this format [ [[2.0924907914914139, 2.3946516145034309], 1], [[2.4682273904177849, 1.6516482666336787], 1], [[1.9754558657999959, 1.9355779157529831]...
asked by 15.11.2016 / 14:11
2
answers

in the text field of the email I get [email protected]. How to remove it?

It turns out that I have a datatable that lists personal data of people, and one of them is the mail, when I test it locally, it looks good mail, but from the production site it shows me the email with the word [email protected] the result of th...
asked by 03.01.2017 / 21:37
1
answer

How to make an automatic code generated with javascript? [closed]

I need a code to appear in a text box generated by javascript that can be seen by the user, this code could be in the form: nota001 and incremented as: nota002 ... nota003 and so on, thanks for your help     
asked by 03.11.2016 / 02:42
1
answer

problem with my javascript function in MVC3 view

hello community stack I need help with my javascript function does not do the multiplication of text fields. //funcion para multiplicar dos campos de texto <script type="text/javascript"> function multiplicar() { m1...
asked by 04.11.2016 / 19:19
1
answer

Google Adsense modified with the same ID [closed]

Is it possible to use the same ad block, that is, the same code generated by the google-adsense application with a single ID , on different pages? The idea is to modify afterwards, the size of the ad block in a common file CSS , w...
asked by 04.11.2016 / 11:36
1
answer

Save in database, radio input created with javascript?

Good in a form created a button that creates radio input with javascript, the question is that I would like to save those radio inputs (alternatives) in my database. <form action="pregunta-quest.php" method="post"> <input type="text"...
asked by 29.01.2017 / 06:33
1
answer

Problem removing a row in a jqueryDatatable

Upload data into a table in a jquery-datatables , when I delete a row after using an event that is placed on a label in the following way " <a onclick='eliminar()'></a> ", this method is activated and it is eliminated by just...
asked by 22.11.2016 / 21:11