Questions tagged as 'javascript'

4
answers

Get URL parameters

I have the following url: http://localhost:27903/detalhes.aspx?id=3014953&stars=70 I need to get the parameters separated, id and stars, any tips I've already tried everything, follow my code: $('tbody#corpo2').append(...
asked by 14.07.2015 / 15:51
3
answers

Confirmation for deletion

I'm having the following problem, I need to validate the deletion of a field, and I'm doing this via modal bootstrap globe. But the field comes from a table and needs to arrive in the modal two information, the client code to be deleted and the...
asked by 13.07.2015 / 19:07
1
answer

How to return data in a select tag?

I have a product table where a product can have multiple photos. When you select the code in <select> it should return all the photos you have registered. How do I do this?     
asked by 09.03.2015 / 21:35
2
answers

How to load multiple records within a Combo?

I need to create a feature for a system that the person can select multiple records in a Combo, but the problem is that I'm loading more than 5000 records and the browser is crashing. Is there any way to create this without crashing? Type an...
asked by 12.03.2015 / 17:58
5
answers

How to select a checkbox and retrieve data in the database?

I have 2 types of checkbox and I need to select one of the two to display a field of type input text with the information coming from the database. The input field will be disabled, that is, it will only be displayed. Doe...
asked by 15.02.2015 / 17:32
1
answer

Doubt ajax request with angular js

Now when executing an ajax request for a url containing a json to store inside a vector, the value of the vector is only populated inside the http method, and outside of the error, I made 2 console.log following an empty array, follow the...
asked by 23.01.2015 / 02:25
1
answer

Array of javascript data for PHP

Good night, for many it's easy, but I can not solve it. I have an order page which has a field with the products and the quantity of each one, when clicking add it shows in a div a preview of the orders and values. When I click to send the...
asked by 19.06.2015 / 01:01
2
answers

remove repeated values

If he types 1, I have to check if there is no value 1 in the table that has already been typed, if there is a value repeated, it removes the value 1 and keeps the other one intact. So for other values. HTML <table>...
asked by 23.06.2015 / 17:40
1
answer

How to set a timeout for a given action in Java?

I would like to set a timeout for a given action on JSP pages, which should work with the following conditions below: When I click on a button eg "Traveling" , the page should somehow save start time and end time and say how long it takes...
asked by 23.06.2015 / 22:30
1
answer

Problem in using function with truncated file

On another topic I've done a question and a friend of the site helped me. I tried to use the function with the truncated file, however the result was: CodeI'veused:<script>functiondec(string){//retornaamatrispura,descompactadavarmyArr...
asked by 25.03.2015 / 20:01