Questions tagged as 'jquery'

1
answer

How can JQuery be both function and object?

I know little of Javascript, and I was trying to understand how JQuery manages to be both a function and an object at the same time. I was wondering how it was developed so it could be called as function ( $() ) and e as object ( $.fn()...
asked by 27.10.2017 / 06:14
1
answer

jQuery mask plugin for CPF

I wonder what I'm doing wrong. I'm using this plugin plugin to try to apply a CPF mask (need to be through the CDN) but when I enter the data in the field, nothing happens. Here is my head where I import the CDNS: !DOCTYPE html PUBLIC "-//W3...
asked by 01.11.2017 / 20:01
2
answers

Automatic Click along with full screen

I have a site, and on the site the user when they log in will go to a page and that page should be full screen automatically without the user needing to click something. I read that it is not possible for the browser to be full screen without...
asked by 06.06.2018 / 14:55
3
answers

Remove the added style with .css () function with jQuery

I'm changing CSS with jQuery and need to remove the style I've added: if(cor != 'ffffff') $("body").css("background-color", cor); else // remover style ? The above line runs whenever a color is selected using a color picker when the mouse m...
asked by 14.12.2017 / 11:46
1
answer

Change mouseover element / mouseleave

I am trying to change the src of an element by using the attr property in mouseover and then mouseleave . The idea is to change a banner while the mouse is under an element and refresh again after you exit. I tried...
asked by 18.08.2014 / 20:14
1
answer

Send files and inputs with the same Ajax request

I have a code that works perfectly for sending files without refresh using PHP and jQuery and I have another code that works without refresh too but for insertion of data in the DB. I can not put the two codes together. What I want is basical...
asked by 05.06.2014 / 19:10
1
answer

Problem loading ajax with Cakephp 2.x

My page loads are done via ajax and loaded into the div content. Where do I get the url through the onclick event of the link, and then do the loading. Calls made directly through the menu work normally, but when I try to get the onclick event i...
asked by 12.03.2014 / 16:24
1
answer

Changing a Dropdownlist through a search

I am creating a registration screen where in a text field I provide a search and the search result will have to appear in a dropdownlist. Theprojectisasp.netmvc4c#andthecodeintheviewis:<scripttype="text/javascript"> $(function () {...
asked by 11.07.2014 / 13:52
1
answer

Image limit per line using FlexBox

I'm using flexbox to display images, however it lists all in one line, I'd like to be able to display 3 images per line. HTML structure: <section class="content"> <?php $i=0; $sql = mysql_query("SELECT * FROM slideshows...
asked by 25.02.2014 / 21:23
1
answer

How to export within the subGrid?

Information: I am using jqGrid(4.54) , and also implemented SubGrid , after opening SubGrid , it is necessary to export the contents of the open table. Question: Is there a way to implement a button or a link within Su...
asked by 31.01.2014 / 16:31