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...
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>...
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 ..
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.
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&...
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.
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...
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...
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...
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...