Questions tagged as 'javascript'

2
answers

Why do I get undefined in an array?

When I want to show the two plants that I have created on the floor I get the following:    We are in the plant: undefined door undefined and the owner is undefined Here I have my code: plantas = Array(); fun...
asked by 17.01.2017 / 19:51
2
answers

How to verify if value exists using Jquery and if so, avoid sending the record?

I got some JQuery codes to verify if any value ( cedula in this case) exists in the database. The system works well, it shows when the card value exists or not, I would like now to prevent the form from being sent, because although it says t...
asked by 25.01.2017 / 23:55
2
answers

Refresh Without Reload Page

I am using DataTable which I have put some buttons that are not own DataTable but buttons of BootStrap. The question is: How to reload / update that table or delete that row from the table when I press the delete button without having to use a w...
asked by 04.01.2017 / 16:14
2
answers

Change style angular-cli component

How can I change the style to a component, using angular material, I am making the change to the directive directly, but do not take it ...? home.component.html <md-card> <app-home></app-home> </md-card>...
asked by 31.12.2016 / 03:30
2
answers

Accept any character minus $% & | # with RegEx

I am something new in web programming and with Regular Expressions (RegEX) . How to allow my TextArea to accept any character except these $%&|<># ? I'm trying this with my TMForm.js . regula.custom({ name:'Special'...
asked by 10.01.2017 / 16:20
3
answers

Validate a text field within two div

How could you validate a form? I already tried this and nothing. HTML <form class="login-form"> <h1>Login</h1> <br> <div class="form-group"> <input type="text" class="form-control" p...
asked by 15.08.2016 / 04:16
2
answers

ngRoute: Temporary template for 5 seconds when accessing a route with id

How can I make a template display temporarily for 5 seconds when accessing a specific path with id -The path with id already has its own template-, after 5 seconds the template that should have been shown originally in the route? I searched ever...
asked by 01.08.2016 / 23:48
1
answer

How would you animate the hamburger menu that comes by default in boostrap?

How could I do to show an animation of the hamburger menu in boostrap that shows me an x when displaying the menu and not the typical hamburger menu: When the menu is opened, the icon is changed to an X and when I click on the x the menu is c...
asked by 05.08.2016 / 19:27
3
answers

Separate a date (dd / mm / yyyy) in different options

How do I separate the current date in three options. For example: and then go back together? I have this working but I have been asked to change it and I can not find anything about doing what I ask. <tr> <th >Fec...
asked by 16.08.2016 / 15:37
1
answer

JQuery - How to know how many elements are in a JSON file

I have my "pck.json" { "Datos": [ { "Nombre":"Alekz" }, { "Nombre":"Andrea" }, { "Nombre":"Janny" }, { "Nombre":"Haytham" }...
asked by 04.08.2016 / 16:32