Questions tagged as 'javascript'

1
answer

Enable or Disable an Input depending on the selected radio button

I have the following HTML code which consists of two Radio Buttons. I need that if the user chooses one, depending on which is the same, the "Discount Percentage" field is active or not. <div class="form-group"> <label for="isProd...
asked by 04.05.2018 / 20:29
2
answers

Question about method get in javascript

A question, that it helps me to outsource a property, I have created a total property with the method get, but for what is necessary? Since doing a method I can call it the same with () and return what I want, instead of getting total () I do to...
asked by 15.01.2018 / 13:41
1
answer

How to update ajax php sql server table?

Good I'm doing a form but in this case they fill certain data or they choose and a graph is generated and below a table that is basically the description of that graph and it is dynamic. The problem is that when I press the first time it work...
asked by 26.07.2018 / 17:02
3
answers

Get AJAX message

Good afternoon, I'm doing a User validation, but I can not receive the message I get. I have the following: $(document).ready(function () { $("#UEmail").change(function () { $.ajax({ type: "POST", url: "Validar...
asked by 16.01.2018 / 21:49
3
answers

When comparing two equal Booleans it returns true but not when comparing two equal objects no Why?

In the following code, the Boolean function is used to return a value. If a strict comparison is made of the result of two functions that return the same value, the result is true, but if two objects created by using new Boolean are compared, th...
asked by 11.07.2017 / 16:46
2
answers

How to transform base64 image to File?

I am generating a canvas within my application, then I would like to upload what is believed in that canvas as a% png image to my server. The problem I'm having is that it goes up, obviously with weight but the image can not be seen. The can...
asked by 09.03.2017 / 20:43
3
answers

Google maps is not shown on the server but on the local

I want to show a map with some locations for this I use the library gmaps js link And everything works fine on my computer, but when I upload it to my server it sends me the following error    common.js: 48 Uncaught TypeError: Can not re...
asked by 06.07.2016 / 06:07
1
answer

Take coordinates of different div with drag and drop JavaScript

I'm doing a project in which I manage drag and drop of JavaScript . Now I have the dividers that crawl but they ask me to draw the coordinates x,y of each and that's where the problem lies: I do not know how to do it because when dr...
asked by 01.03.2017 / 18:26
2
answers

How and for what parameters do they work?

How does this función and mainly its parámetros ? (function(window, document){ })(window, document); I know it's a funcion anonima and that autoexecutes , but I do not know how to get it and so you could use your...
asked by 26.06.2017 / 21:29
2
answers

use ajax to load information

I have the following form that has the following option: echo "<tr>"; echo "<td class='cs'>Forma pago</td><td>"; echo "<div id='contenedor2'>"; echo "<select name = 'cod_tarj' style='border-colo...
asked by 21.05.2016 / 17:43