Questions tagged as 'jquery'

1
answer

Droppable jQuery event does not work

I have the following code to do the Drag and Drop event: $(".device-profiles").draggable({ revert : true, start: function(event, ui) { dragColor = $(this).attr("data-color"); console.log("dragColor: " + $(this).attr("da...
asked by 05.09.2014 / 19:14
1
answer

How to get value from a RadioButton field in JS?

I can not get value of my field RadioButton @Html.Label("Ativo") @Html.RadioButtonFor(v => v.Ativo,"S", new { name="ativo"}) @Html.Label("Inativo") @Html.RadioButtonFor(v => v.Ativo,"N", new { name="ativo"}) <script>...
asked by 20.02.2015 / 17:12
2
answers

Upload progress with jquery or php

I use a script to upload images with PHP and JQUERY and would like to display the percentage of progress while it is uploading, how can I do that? Thank you ..     
asked by 27.06.2014 / 18:38
1
answer

How to make a mosaic-type gallery

Well, I'd like someone to point me to a link or give me a light on how to make a mosaic-like gallery, like the link: link This style is from blogspot and I would like something similar.     
asked by 22.07.2014 / 22:04
1
answer

Returning image with Google Feed API

I'm trying to return the image of an rss feed using the Google Feed API and Jquery function parseRSS(url, location, container) { $.ajax({ url: document.location.protocol + '//ajax.googleapis.com/ajax/services/feed/load?v=1.0&...
asked by 12.11.2014 / 17:48
2
answers

Put jQuery function on button

I need to put a function call on the submit button, which checks if there is at least one file in the database and if it does not, do not let the form be submitted.     
asked by 14.11.2014 / 13:26
2
answers

ScrollBar - Calculate field of motion

How to calculate the motion field of the scrollbar div in this case: JSFIDDLE var margem = 0; function criarBarraDeRolagem(){ if ($( document ).height() < $( window ).height()) { return; } var tamanho = $( window ).height() / $( do...
asked by 25.09.2014 / 19:23
2
answers

JQuery is only displaying an input value with .serialize () [closed]

I started studying JavaScript and JQuery. I was doing a test to display on the screen what was sent via Form, but you are only sending value from a field, could anyone help me?! Here is the HTML with the script: <script src="//code.jquer...
asked by 26.09.2014 / 16:20
2
answers

Load Value in Input

Good morning, I'm trying to load a value into the Input after the user clicks the button. // Este é o Botão <button type="button" class="btn btn-default" tabindex="-1" onclick="id_host()"> Identificar Nome </button> When...
asked by 25.09.2014 / 15:45
1
answer

Doubt how to validate make with product name [], field is an array

I came across the following doubt. I'm using jQuery Validation Plugin v1.13.0 to validate my client-side form. It's working, right. Plus the problem I can not solve is I have a field named produto[] , which is an array that sends...
asked by 24.09.2014 / 18:22