Questions tagged as 'jquery'

1
answer

Make a Select inside a dropdown with help of jquery

I can not script for this to work. I have to search for the second Dropdown and save the ID of the second dropdown to do the Post ID on the DB Controller: This Controller will seek the dioceses of the first dropdown. public ActionResult Get...
asked by 14.01.2016 / 17:24
2
answers

Change the value of a parameter passed to a function

I have a dynamic form that I add several fields and I create together a div that is passed by a button that is assigned a onClick event for it passing a function that receives a parameter. This parameter is a sequential number that I crea...
asked by 29.10.2015 / 18:49
1
answer

How to return POST in the same div on which it runs AJAX

Actually there are 2 problems: 1st I have a DIV CONTENT where I open via AJAX the content in it, the same is happening type, if I click 2 times on the same link it instead of reloading the page it is simply adding the content again getting 2 con...
asked by 04.02.2016 / 23:35
1
answer

Change variable when selecting another value in select in JS

How could I change the param value by what I selected in select? the param is in the link that I will be sending to another page. It would only be the id that I selected in the select. var meu_select = $('#meu_select'); meu_select.chang...
asked by 07.02.2016 / 21:47
1
answer

How to manipulate a link in href

Is it possible to treat a link , for example when I click and the page does not exist, I redirect to a specific place? For a page of "ops this link does not exist" for example. In my case I'm doing an appWeb (phonegap), where I wanted to...
asked by 05.02.2016 / 18:21
1
answer

Loop in autocomplete JQuery

I'm using this plugin - jquery autocomplete . I have select option and the plugin dynamically creates a input type="text" and hides select . Everything works! I would like to know how to do each letter I type, search t...
asked by 29.09.2015 / 20:16
1
answer

How do I hide the container while loading an image?

I'd like to know how to hide the content and show only a loading gif on the page. I managed to implement but the images keep showing up, how to solve this? My code is here: Here is the part in javascript: $(document).ready(function(){...
asked by 28.09.2015 / 23:48
2
answers

Divide group divs with jquery

Assuming I have 4 divs whose class is "block". With jQuery I'd like to split the divs into blocks of 2, and "enclose" each sets of "blocks" inside another div. I would like to make the code very dynamic, so that by adding multiple "blocks"...
asked by 29.08.2015 / 07:00
1
answer

Image being repeated

Implemented code on my site, this is a retractable chatbox. It has two images, one of which is to open the chatbox and another to close. However, when you open the chatbox, it will have two "Closed" images as you can see below: I'dliketoseeo...
asked by 01.09.2015 / 19:00
1
answer

Verify checkbox state - bootstrap switch

I'm using bootstrap-switch in my checkboxes and would like to check the status of my checkbox when loading the page using the library itself.     
asked by 09.09.2015 / 03:37