Questions tagged as 'javascript'

2
answers

as I print a custom message from a variable that I have my php file in ajax

This is my AJAX .. <!-- CREATE AJAX --> <script type="text/javascript"> $(document).ready(function(){ $('#create').click(function(event){ event.preventDefault(); $.ajax...
asked by 13.04.2018 / 21:28
1
answer

because my javascript code does not allow me to change the image more than once?

I am using the following code, it only lets me change the image once and then it does not make any more changes it is supposed to change every time I click <script> $(document).ready(function () { var opn = 0;...
asked by 11.06.2018 / 15:19
1
answer

Show array in table

How can I do to display an array in javascript in an HTML table? <body> <p id="cliente"></p> <script> var client = ["10001500", "Benito", "sdfdsadasfl.com", "C/Falsa123"]; document.getElementById...
asked by 12.02.2018 / 09:55
1
answer

Error with my script

<div> @foreach (var j in jornada) { <input class="filtro" name="NombrJornada" type="radio" value="@j.IdJornada"/> @j.Nombre } &...
asked by 13.02.2018 / 23:29
1
answer

Select radio input in div

I would need to know please how I select an input that is inside a div. At the same time I would like to hide the circle of the radio ... I tried this: $(".calendar div").click(function(e){ $(this).closest(".calendar").find("div").removeC...
asked by 21.02.2018 / 12:02
1
answer

Stream a webcam to multiple viewers [closed]

I am building a website (in symfony) for an academy and one of the requirements is that a teacher can broadcast a class to multiple students live. I'm seeing that webRTC is the technology used for it, but I can not find any full tutorial. Any...
asked by 02.05.2016 / 10:48
1
answer

how to disable the Internet Explorer refresh button with javascript

I am trying to disable the browser refresh button using javascript, so far I have only managed to disable the pressing of a combination of keys, but I have not achieved the button event, I have this code for that: $(document).keydown(function...
asked by 05.06.2018 / 10:40
2
answers

Problem with boolean in setInterval - vuejs

I have a boolean called isFilter in which when it is true it does one function and if not the other function. This I have in the created so that every 30 seconds I return to execute the function: created() { this.load(); setInterval...
asked by 22.04.2018 / 13:27
1
answer

get value from a field in a table with JavaScrip

I'm trying to get the value of a specific field within a table, the data is brought with AJAX from an API. I tried with .value but I think it only works for inputs.     
asked by 09.05.2018 / 15:08
1
answer

How do I change a canvas color with a click on html5?

Excuse me but I would like to know how I can change a canvas color by the method of clicking on the drawing. It's for another type of work but I just want the method of clicking on the drawing and making an action.     
asked by 01.05.2018 / 08:17