Questions tagged as 'jquery'

3
answers

How do I request post via AJAX?

I can not access my action through the ajax request: <legend>Procedimento:</legend> @Html.HiddenFor(p => p.CodigoProcedimento, new { id = "codProcedimento", name = "codProcedimento" }) @Html.HiddenFor(p => p.CodigoPe...
asked by 29.01.2015 / 15:01
1
answer

How to give line break in an XML Feed according to page width?

I have a table with 15 items and must be done to break the columns when the total size of the items reach the full width of the table. Ex: What's happening: |--- WIDTH 300px ---| 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 What do I...
asked by 14.10.2015 / 18:17
1
answer

Method ignoring the callback function in a jQuery plugin

I'm developing a plugin in jQuery and the problem or difficulty is: I created the methods init , show and hide ; (function( $ ) $.fn.tooltip = function(method, onClick, onBefore, onAfter) { var default...
asked by 20.10.2015 / 19:28
2
answers

JSON API Callback

I have a question on how to filter results from a API , and would like to know if anyone has had this problem before. Let's say that we have to access a API that is on a server other than ours and returns a response in JSON...
asked by 18.10.2015 / 05:44
2
answers

Sharing button for linkedin

How can I make a button for sharing to linkedin? I did facebook, google, twitter and whatsapp but I'm not getting it. For example look at this one from facebook: <script type="text/javascript"> var win = null; function novaJanela...
asked by 07.08.2015 / 19:36
2
answers

Add image in DataTables according to state

I'm going round here with DataTables and I'd like to add a status type to a% coso. If the value is img put an image and be 0 put another image in row .     
asked by 12.08.2015 / 13:53
2
answers

Problem with accentuation in .js after concat and uglify in Gulp

I'm trying to optimize the website of the organ where I work and I'm having problems after concatenating and minifying the javascripts. Our Apache server uses ISO-8859-1 and all of my files in PHPStorm are configured on the same charset. A...
asked by 10.08.2015 / 16:26
1
answer

How to get the values of the last 4 columns with Jquery

I have a panelGrid , and would like to know how to get the last 4 elements before a certain one of the same line. That is, I have a line, and the last element will receive the sum of the previous four. Thank you     
asked by 05.12.2015 / 19:13
1
answer

Effect JS slide div and another appears

Next I have a home where the user will come across a login field or a button to register. Clicking on the register button would like this current content to disappear from the screen by sliding to the left and the next registration card to appea...
asked by 11.12.2015 / 14:51
1
answer

How to display a loader while processing a javascript function?

I have a radio button that when clicked, performs a function that mounts a datepicker. However, the mountDatepicker function only loads after a few seconds, after querying the three apis to mount the calendar. So how do I load an image wit...
asked by 08.12.2015 / 04:24