Questions tagged as 'javascript'

0
answers

How to call 2 files from the bean

I have 2 files, file1 and file2 and I have a bean, my question is how can I create a condition in the bean to know what file I am in, that is, if I am in file1 block a menu and if it is in file2 leave it in normal menu. Greetings.     
asked by 17.08.2018 / 10:21
1
answer

Problem when calling an input I can not find a solution please help! JQUERY

Script where I send the information and show it <script> $(document).ready(function(){ $('.btcar').click(function(e){ e.preventDefault(); var car = $(this).attr("id"); var stock = $('#stock'+car).val();...
asked by 17.08.2018 / 07:09
0
answers

I have an error when uploading an image to my DB the name takes it null

Servlet String nombre = request.getParameter("Nombre"); //String valor = request.getParameter("valor"); String img_producto = "imagenes/" + items.getName(); int id_categoria = 2; float precio = 2200; int stock = 10; String query = "INSERT I...
asked by 14.08.2018 / 21:38
1
answer

help with javascript calculator

I'm doing a calculator with javascript and for some reason it throws me as a NaN value, I throw it in the second and third function, but in the first one, I can not find the error, copy and paste the code of the first function and change the val...
asked by 14.08.2018 / 18:38
0
answers

Name problems of the "id" o Does not recognize the "id"

Hi, I want to migrate a template to WebForm , so I try to copy the html code with its libraries (css, js) and when I run the aspx page, I get the error of IDs name of my labels.    Here I leave all the contents of the head:     Trans...
asked by 15.08.2018 / 15:54
1
answer

Passing javascript data to php

I'm trying to pass some data from a form by passing it through ajax but for some reason the page that sends the data does not arrive at all. This is my javascript code: </script> <!-- Apertura Script -->...
asked by 13.08.2018 / 17:44
0
answers

Calculate a parameter of a user with JS

I am creating a web app fitness that allows me to calculate the BMI and body fat percentage (BF) of a person, but the method that implements in JS does not work and I have no idea why. This is the view with the JS: @model IEnumerable&...
asked by 19.08.2018 / 12:08
2
answers

How can I make fullCalendar remember events?

I have a board with switch that shows or hides the events in fullcallendar, but when I change the month, they are shown again for more than the switch this desactivado , as I can do so that the change of Month record this?...
asked by 16.08.2018 / 16:23
2
answers

How to identify values in a string

We are making validators of expressions which are loaded in a database. The challenge is to take that expression, for example: Objeto.getNombreFuncion("123").getAttribute("Nombre_Etiqueta") && Objeto.getNombreFuncion("Otra_Etiqueta")....
asked by 11.08.2018 / 22:05
1
answer

I do not run the scripts in Laravel 5.6

[! [In this part there are the 2 scripts that I am executing, but none of the 2 execute me at the time of running the website.] [2]] [2] I need help, I do not know if in Laravel 5.6 something extra is needed to run the scripts, or if an...
asked by 11.08.2018 / 23:15