Viktor Novikov

1

votes
2

answer
919

views

JQuery. How to select some cells at each row?

I'm a bit stuck trying to resolve this problem. I need get content of a few cells, and after this do update inner text of this cells For example, I need to get values of cells with class = 2 and class = 4 in each row, and after this, update their inner text I tried to do it by this code: $(element)...
1

votes
3

answer
3.6k

views

JQuery. Ajax request for each row in table

I tried do Ajax request for each row in table, but i can't achieve the desired result Table: Col one Col two Col one 1 Col two 1 Ajax Request $('#detect_rel').click(function(){ $('.data').each(function(i, el) { var query = $(el).children('.editable').children('.query').text(); var page = $(el)....
2

votes
1

answer
5.4k

views

JQuery. Send ajax query for each row in table

I have found many answers about my problem, but problem not resolved I have table, with data, example: Data 1 Data 2 Data 3 Data 4 Data 1 Data 2 Data 3 Data 4 I need: For each row in this table, get values of links with id='query' and id='foo' in current row and send ajax query I try...
2

votes
1

answer
70

views

Redmine/Ruby/Rails - Use custom helper methods inside of another custom helper

I don't know Ruby&Rails, but I would like to build a small custom Redmine plugin for my personal needs. And I have faced with the problem which might look quite straightforward for Ruby experts. I have two helpers (modules): helper1 helper2 And I would like to use helper1.method1 inside of helper2....
Viktor Novikov