Questions tagged as 'jquery'

1
answer

Jquery version giving problems

I'm having problems because my site is done with Jquery 1.4.1.min and when I call a script like this: <select class="styledselect_pages" onchange="mudalinhas(this.value) "> Script with this version of jquery does not work: <...
asked by 22.05.2016 / 18:56
1
answer

Jquery with dynamic html code

I have a function in Ajax that when added, inserts / updates a .php page $("#recarrega-adt").click(function(event) { $.ajax({ url : 'classes/consulta-aditivo.php', success : function(txt){...
asked by 16.06.2016 / 14:19
1
answer

System posts - Tips [closed]

Hello, I'm trying to create a posts system for my site and I have an initial idea of how to do it, very basic. In the basics, I would have one that will send the text of a <textarea> to the database, along with the author, date,...
asked by 17.05.2016 / 05:09
0
answers

Post values in a Listbox without being selected

Is it possible to post the values of a Listbox without being selected? My ListBox: @Html.ListBoxFor(m => m.SelectedCatequistas, new MultiSelectList(ViewBag.SelectedCatequistas, "PessoaID", "Nome"), htmlAttributes: new...
asked by 17.05.2016 / 17:41
0
answers

Call Sharing Bar, after the image is loaded with 'lazyload'

I'm using the plugin (jQuery.Lazy ();) to load my images. LINK: link It has this callback: // called after an element was successfully handled afterLoad: function(element) { var imageSrc = element.data('src'); console.log('imag...
asked by 17.05.2016 / 15:37
1
answer

jQuery Click does not work on results coming from $ .post

I'm developing a delete button on the product form that I have, it works like this Category 1 (Radio Button) Category 2 (Radio Button) After selecting a category, it sends a jQuery command to the $ post function and creates...
asked by 14.10.2014 / 07:09
0
answers

JQuery Carousel disrupting the display: inline-block

The page is this: link The code is this: echo "<div class='fotosProduto'>"; require_once "_required/carousel.php"; echo "</div>"; echo ' <div class="detalhesProduto"> texto </div>'; Inside req...
asked by 11.06.2016 / 21:40
0
answers

Back to TOP jQuery - Uncaught TypeError: Can not read property 'top' of undefined

I have the script to go back to TOP. On the homepage of the site, it works perfectly, however, in the internal pages it does not go up and it presents the following error:    Uncaught TypeError: Can not read property 'top' of undefined jQ...
asked by 07.06.2016 / 18:05
0
answers

How to capture the clicking and dragging of a DOM object

I have a div that I want to trigger a function if the user clicks and drags. The div can be positioned in different places on the grid. I use the gridStack plugin. I want to get the final position of the div within the grid. One DOM object wi...
asked by 07.06.2016 / 16:40
1
answer

Select duplicate field with chosen-rails and relationship has many through

Personal speech, I have a GROUP_TV table and it relates to the City table through the has many through. In the _from.html.erb of the GROUP_TV view, I have a collection_select to select as many cities as I want. This works perfectly. The...
asked by 06.05.2016 / 22:23