Questions tagged as 'jquery'

1
answer

Know which part was clicked

I am making a player of my own, what I need is to be able to move through the video with clicks in the progress bar, here the progress bar: <player-progress-bar> <div style='width:100%'> <div class='hr-yt-played' sty...
asked by 27.06.2017 / 14:35
3
answers

problem with $ (document) .on in jquery?

I have the following code: $(document).on('focus', '.albaran', function () { console.log($(this).data('error')); if ($(this).data('error') == 1) { $(this).tooltip({ 'trigger': 'focus', 'title': 'El campo no puede estar vacio' }...
asked by 14.06.2017 / 23:30
2
answers

Obtain checked radio text

I have the following radio button that I filled with php, I need to bring the text "automatic" or "manual" if it is checked I have tried this without result: $('input[name=tipo-caja]:checked').text(); <section>...
asked by 15.06.2017 / 16:14
1
answer

Edit record with dependent combo Ajax

I have a form with 2 dependent comboboxes: Combo A and Combo B: When I make a new record there is no problem I select A and it shows in B what belongs to it, I select it and it registers in my DB. My drawback is when I already want to edit...
asked by 16.06.2017 / 03:08
1
answer

Is there any variable that is unique and unrepeatable (apart from the time and date) that can generate with Javascript and decrypt with PHP? [closed]

In my project, if the user has forgotten their password, I force them to write their user and using Javascript and windows.location I open a new web page with a request type GET and send your user as a variable. On this page, once...
asked by 15.06.2017 / 19:10
1
answer

Filter table according to the sectioned value of a select

I'm doing a filter of select of an individual column so that when I hit that value, I return directly to the result table. I'm working with a datatable jQuery and the only thing that has helped me is to search with a i...
asked by 20.06.2017 / 12:38
1
answer

Undefined in the PHP return to the front with JSON

I am trying to create a session validation with Jquery, AJAX, JSON and PHP. I have this code. This is the generic function that I invoke in each query, I modified the code because apparently I was doing the return inside the AJAX function, I...
asked by 20.06.2017 / 19:44
1
answer

Upload an image by Ajax and CI

I want to know if my JQuery is well declared or set. In the capture part I capture it for the .val() nose if it will be bad or good, because at the time of recording it says that no image has been selected MTML: <d...
asked by 20.06.2017 / 22:06
1
answer

"Like" counter without PHP? [closed]

I've been researching lately on this topic in specific and the truth, I have not come across anything or anything like what I'm looking for, I'm new to server programming, and therefore I'm giving myself the task of make a clean site without PHP...
asked by 19.06.2017 / 04:22
2
answers

How to join 2 columns in a datatables

What happens is that when I fill a table using the data tables plugin I do not want for example the paternal or maternal surname or the second name to appear in separate columns, but rather everything appears in a single column, How can I join t...
asked by 19.06.2017 / 21:14