Questions tagged as 'javascript'

1
answer

Search for Object Array value

I have the following code: jsonOptions = [{"description": "Carro 1", "product": "4"}, {"description": "Carro 2", "product": "5"}, {"description": "Carro 3", "product": "6"}, {"description": "Carr...
asked by 11.01.2018 / 20:32
1
answer

Receiving data from a url (m3u) using php

I have the following question: I have this URL: http://Infinity.quor8.com:8000/get.php?username=wesleybr&password=mxViBCIK05&type=m3u_plus&output=ts When you access it from the browser, a .m3u file is downloaded so far:)...
asked by 17.01.2018 / 14:29
1
answer

Unnecessary deletion

I have a table filled with codes: 1 2 3 When I click the delete record button 1, it asks a question: "Do you want to delete the record?" I click on No. I do the same for 2 But in # 3, I'll click "yes" The problem is that you are...
asked by 18.01.2018 / 13:45
2
answers

Compare values of an array with values of an object

I am making a simple code to practice some methods in JS, I would like to get a string transforms them into an array, convert the elements into number, and compare with the objects of my object, I will leave a snippet of code const alf = {a :...
asked by 13.01.2018 / 01:23
1
answer

Can we develop a 100% JavaScript / HTML / CSS web application without backend?

I'm a backend Java developer and I've always used JavaScript in the frontend to give dynamism and better interaction with HTML pages (I've always developed corporate systems). Is there a way to develop a 100% enterprise system in JavaScript /...
asked by 13.01.2018 / 00:03
2
answers

Background-color Td radioButton

I'm having trouble resolving this situation. I have in my table a list with a radio button, it happens that when selecting an option, it works perfectly coloring the background of the td, but when I select the second option it also selects the b...
asked by 25.04.2018 / 05:01
1
answer

Handle options from a select using JavaScript

I'm making a menu that has an interactive selection list manipulated by JavaScript. The problem is that when I am going to change the bread option according to the chosen sandwich nothing happens. Follow the code below HTML <select cla...
asked by 24.04.2018 / 21:41
1
answer

Open the same modal with several buttons

I am retrieving the data from the mysql database, through a while, for each row of the database a button is generated, each button opens a modal window with details also coming from the database, but only the first button is opening the modal wi...
asked by 31.12.2017 / 21:51
2
answers

how to select items in while counter, in php

I have created an admin page where I have entered the data for books in the database. I made this html where this data will be shown. the array will create this block "header" with all the books registered in the admin pages, but I would like to...
asked by 30.12.2017 / 23:38
1
answer

Open a Script and close another

Hello! I found a slide script, and it gives support to move the images vertically and horizontally. In case I put 2 buttons for the user to choose and make the exchange ... when I click in vertical or horizontal it works normal, but when one of...
asked by 02.01.2018 / 00:51