Questions tagged as 'jquery'

1
answer

Upload DIV automatically with Ajax

I need a drug DIV to be populated the moment the user chooses one of the options in a combobox (subtype). In my index I have the combobox, where I created the Ajax script as below: $('#subtipo').change( // o subtipo está localizado nesta...
asked by 13.05.2017 / 15:10
1
answer

Get JSON information and insert into html with loop using getJson

Next, I have a table in an html page, example: <table> <tr> <th>nome</th> <th>e-mail</th> </tr> <tr> <td>...
asked by 13.05.2017 / 06:56
1
answer

create div at runtime

I have the following html: <div> <h3>Use font awesome icons</h3> <div id="lobipanel-font-awesome" class="panel panel-info"> <div class="panel-heading"> <div class="panel-title">...
asked by 13.05.2017 / 01:01
1
answer

How to set up PickaDate do Materialize correctly?

I set up pickadate of Materialize on a page only that it is getting in English and when I go out and back to the has pickadate it opens without me clicking the field. I inserted the materialize.min.css into the h...
asked by 23.05.2017 / 14:00
1
answer

change select values with jQuery

Well the problem I'm having is that clicking the button and changing the values of select, the effect is lost. A new select appears and I need to change only the results and maintain the style. Does anyone know what it can be? $("but...
asked by 23.05.2017 / 16:09
1
answer

JQuery adds "selected" to an option

I have the following code: <select id="billing"> <option value="485">Acre</option> <option value="486">Amapá</option> ... </select> When the user types the zip code, the system automatically s...
asked by 23.05.2017 / 18:59
1
answer

Site loaded with no refresh?

I'm trying to develop a site without reloading a page but change the page url so that google search type thefts can find pages on my site more easily than with ajax . For example: OndaSul FM . I know this process can be done with JavaScri...
asked by 02.06.2017 / 20:45
1
answer

slideToggle (); to row in tables

$(document).ready(function(){ $("#flip").click(function(){ $("#panel").slideToggle("slow"); }); }); <div id="flip"><table><td>Maria</td></table></div> <div id="panel"><table><t...
asked by 23.05.2017 / 19:59
1
answer

Update multiple form divs after jquery / ajax post request

I have two post requests in the form, one inactive and the other one activates a registration, as they are the same I will only display one to exemplify: function inativarCadastro(cod) { $.ajax({ url: '@Url.Action("InativarCadastro...
asked by 02.06.2017 / 17:03
1
answer

Merge upload and input ajax

I have this form: <form id="formForum" autocomplete="off"> <div class="boxContent"> <div class="form" style="margin-top: 0"> <div class="profile" style="background-image: url('painel/upl...
asked by 03.06.2017 / 05:55