Questions tagged as 'jquery'

1
answer

Add path to fileField when clicking image with YII framework

I'm trying to make a fileField schema of the YII framework for when a user clicks on the image that is on the screen, the name of the image clicked will appear in the span and the value of the model in the fileField will receive the image. But I...
asked by 16.05.2018 / 15:12
2
answers

How to "validate" input

I'm looking for a method to check if the input's required with the page are valid every time I click the save button, but I'm trying to do this without having to check one by one, below what I've done. I had to leave the button as "type = 'bu...
asked by 27.04.2018 / 16:48
1
answer

This script only controls the page loading, How can I make this control during all navigation?

This script checks for the existence of class hide-bar in id header when loading the page when the class is not yet added to it. I need to find a solution so that as soon as the class is added to the id that is exactly when there i...
asked by 13.12.2014 / 16:17
1
answer

JQuery - access array error

I need to compare two arrays, one with calendar days and one with registered days. When the registered day is corresponding to the value of the innerHTML property of the array of div it should paint the background of this div...
asked by 02.01.2015 / 22:19
1
answer

Private functions via ajax - Code Igniter

I'm using CodeIgniter to create a web system and so the user does not refresh the page by missing it already I use all ajax calls inside "modules". The problem is that if I put a function in a controller as public the user can kick the URL and a...
asked by 05.01.2015 / 16:52
1
answer

DIV leaving the screen

I've seen several times a div that comes off the screen, and as I will not know how to explain it right, I'll show you a photo of an example: Ifigureditwouldbebox-shadow,butIcouldnotdoit.Idonotwanttodothesamedesignastheboy,soIwillnotstealhi...
asked by 30.01.2018 / 13:39
1
answer

Browser talk to user press key

I'm doing a blind person-oriented project, I was wondering if there is any way to make the browser speak by voice "Press the ENTER key to speak", I'm using SpeechRecognition to recognize the user's talk, but I have not found any site that I rese...
asked by 19.05.2018 / 22:35
1
answer

Change CSS value according to Scroll

I need to, when I scroll the page, apply css to div, for example: When the user arrives in the middle of the site, or in the desired section, apply a CSS from this point to a div , as it scrolls down the page, it changes the value of th...
asked by 20.12.2017 / 20:26
2
answers

Length of jQuery does not update with append, how to solve?

I'm working on a script that causes me to load more records from the database when the user reaches the end of page scrolling. PHP / SQL is right, the problem is that jQuery does not correctly report the number of occurrences of class...
asked by 23.11.2017 / 11:49
1
answer

Updating content within a Lightbox without giving Refresh on page

Good luck, I'm using Lightbox and Ajax for content expansion. The content itself is always accompanied by an image, so just click on that image that it enlarges and the text referring to that image appears, as if it were the Facebook Lightbox. W...
asked by 16.06.2014 / 23:05