Questions tagged as 'jquery'

1
answer

How to do nothing when clicking the same div # box1?

I want when I click on the id box1 div 2 times or more do nothing using Jquery and / or javascript $(document).ready(function(){ var exe=false; var nuns=0; $('div#box1').on("click", function(){ if(nuns==0){ if(exe!=f...
asked by 02.07.2018 / 10:58
1
answer

Nodejs - socket.io and jquery

Good afternoon I'm following the socket.io start tutorial and it's all working, but I do not understand why jquery only works if calling the script in html I tried to install by npm and it does not work (the message does not log in) I...
asked by 02.07.2018 / 17:40
1
answer

jquery.ez-plus resize the zoom frame

I have the following code <div class='fotosPlanos'> <img class='elevate-image' src='_img/_fotos/corsa.jpg' data-zoom-image='_img/_fotos/corsa.jpg' /> </div> <script> $('.elevate-image').ezP...
asked by 28.05.2018 / 22:28
1
answer

Inline edition vuejs

When you click on the note column all the inputs will appear. I wanted each input to appear when clicked on the corresponding line. new Vue({ el: '#app', data: { nota:'nota', edit: '', myclass: '...
asked by 24.05.2018 / 16:04
1
answer

Upload with jQuery

I have following code : $(document).ready(function(e) { $("form").on("submit", function() { $.post ("upload.php", { fotos : $("input[type=file]") }, function(retorno){ alert(retorno)...
asked by 24.05.2018 / 18:56
1
answer

Validate textarea field with summernote and php

We're using summernote in a Bootstrap project. It looks like this: HTMLlookslikethis:<textareaclass="md-form-control md-static" id="summernote" name="Mensagem" rows="18" ></textarea> JQuery: $(document).ready(function() {...
asked by 24.05.2018 / 20:17
1
answer

How to capture the return of an AJAX that is inside a function?

I have a screen that lists the Trademarks registered in the system, as soon as the user opens this screen, the list of marks should happen. I already have AJAX done and it was working, however I wanted to get it from inside the marcas.php...
asked by 20.05.2018 / 21:50
1
answer

Send view to controller values by jquery

I'm doing an application in .Net C #, and I wanted to make an input and a button that would send the information to my controller by jquery/ajax , and I have no idea how to accomplish this, I need to pass the information by ajax...
asked by 21.05.2018 / 21:17
1
answer

Isolate and update only one Div

Is it possible to 'isolate' a Div and just update it? Example: I have the option to change the profile photo in the user, where as soon as it is changed from a reload in the page to update the highlighted Div : Allchangesaremadev...
asked by 21.05.2018 / 16:32
1
answer

Grouping in dynamic objects

My php is returning this data: {"question":"Name","answer":"jorge","qt":"1","graph":"table"} {"pergunta":"Name","answer":"Jorge","qt":"2","graph":"table"} {"question":"Name","answer":"Jhon","qt":"1","graph":"table"}...
asked by 30.05.2018 / 19:24