Questions tagged as 'jquery'

2
answers

Switch between hiding / displaying divs from links

I'm trying to adapt this script , which I found in this excellent #, so that when the link is clicked, divs will alternate. On the page there are several divs, and each one will appear when you click the respective link, and this d...
asked by 27.05.2015 / 04:58
1
answer

$ .ajax does not respond

Code: <script> $(document).ready(function () { $("#submitbuy").click(function () { alert("clicou no submitbuy"); var emailc = $("#emailc").val(); alert("variavel emailc atribuida: " + emailc); $.ajax({...
asked by 03.01.2015 / 16:23
3
answers

Close div on exit link or click off

Hello, I have the following code. function abreConteudo(element) { alert($(element).attr('class')); alert($(element > "div.descricaoobs").text()); } $(document).ready(function () { $("div.botao_melhor_leitura").clic...
asked by 08.01.2015 / 19:41
2
answers

Specific ordering of a list without a plugin

I am facing a very specific problem in a project. I'm creating slide, where I need to sort the list according to what is clicked on the page. It should look like this: Next form: Quando clico na paginação no item 3, a lista deve ficar da se...
asked by 29.01.2015 / 14:40
2
answers

How to add a div (complete) to asp: Panel using jquery?

Hello. I have the following scenario. I want to use CollapsiblePanelExtender from AjaxControlToolkit to make a collapsed panel. However, the content that this panel will display will be dynamic and will be inside a div. My div alread...
asked by 29.12.2014 / 14:59
1
answer

What to do for this code to work on your phone

I've got this code ready to mount a fake off-canvas menu, it's working perfectly, but when I go to the mobile the menu does not appear, what do I need to do? $(".toggle-canvas").click(function () { $("#menu-canvas").toggleClass('menu-canvas-ac...
asked by 20.12.2014 / 20:59
1
answer

How to disable checkbox in tinymce based on listbox value

I created a popup in tinymce for WordPress, for inserting shortcodes on the page. When you open the window, it shows a menu listbox with several video source options (sites like YouTube, Vimeo, etc.) and a checkbox , if checked, makes th...
asked by 20.12.2014 / 02:54
1
answer

how to prevent an element from being reloaded when accessing other pages of the same site?

How to keep a fixed and unchanged element even by changing pages on a website. Type, a music player, just like the sites link link However, other than ajax, if that's possible?     
asked by 21.12.2014 / 05:07
1
answer

jQuery File Upload - angularjs

I moved a site from one server to another. I'm using this file upload tool: here . Now on the new server, selecting more than one file can not upload the image, ie it is not even loaded in the window. Is any php module missing from the new serv...
asked by 15.09.2014 / 16:13
1
answer

Configuring jsTree for AJAX

I'm using the jsTree plugin, trying to get it to fetch the information by AJAX . On server side I have four tables in the database, each one a level of the tree. Tabela1 -Tabela2 --Tabela3 ---Tabela4 Making the plugin search the firs...
asked by 22.09.2014 / 17:44