Questions tagged as 'jquery'

2
answers

Execute JavaScript function in the click event of a button inside a table

Hello, I have a table and in each row of this table I have a button, when I click that button I need to execute a function but I can not do that because I do not think I'm using the correct selectors. p> Table: <table id="tbl" class="tabl...
asked by 28.08.2014 / 17:01
2
answers

How to separate data from arrays into rows?

I would like to ask you another help: I have a two-dimensional array, and I wanted to separate it in lines in a column, for example: Time 1 Jogador 1 Jogador 2 ... Time 2 Jogador 7 Jogador 8 ... I came up with the following code: var...
asked by 27.09.2018 / 02:48
2
answers

Delete HTML Element after a few seconds

Next, I have a registration script, which when registering a user successfully, makes the following command to display a message on the screen: echo "<p class='msg-success'> Usuário Cadastrado com sucesso!</p>"; My question is:...
asked by 21.08.2016 / 01:38
2
answers

How to sum two values of an input by checking checkbox

I'm wondering how do I add two values that are set when I frame the checkbox. I made this code, It does not work as I expected, I wanted it to take the number that is already in the input and add another value when marking the checkbox, and r...
asked by 26.10.2018 / 00:56
2
answers

Increase numbers to ID name

Good afternoon, I need a help, I have the following condition, after clicking a button I must insert a new checkbox and the first of these checkboxes has an id="0", the next one must have id="1" id="2", so on, always after clicking the button th...
asked by 04.10.2018 / 20:52
2
answers

JSON PARSE returning 'object object'

I would like to know what is wrong with my function, because by assigning obj = data , it saves object object , the date value being a JSON returned by WEBSERVICE. Date value: [{"descricao":"Lorem ipsum dolor sit amet, consectet...
asked by 07.12.2018 / 15:34
1
answer

Difference between the contents () and html () methods

I had to get the content of an iframe (which was in the same domain on the same page) with html() , but without success. I saw that there was a method called contents() , and it worked fine using it. Why a goddamn one and not...
asked by 09.04.2015 / 22:31
2
answers

Create Editable Table

I would like to create a table where your cells can be edited but meet certain requirements. What I have is this: HTML <table class="table table-striped table-bordered" id="vendaTabela" width="100%"> <thead> <tr&g...
asked by 26.02.2015 / 11:38
4
answers

Change point by comma in input value

I have a page with several inputs all of type text and with different names and different IDs. In all of them there is the numeric value with a dot separating the decimals (10.00) and I would like to change that point by a comma (10.00) using...
asked by 17.03.2015 / 16:33
1
answer

Know if the scroll has reached the end of the DIV

How do I know that the user rolled the scroll bar from a div to the end? using jquery. So far I've only been able to do this scrollTop(); But I do not know how this command can help me     
asked by 16.03.2015 / 19:35