Questions tagged as 'jquery'

2
answers

Change menu with CSS

I'm developing an application where I would like when I rolled the page bar to the middle of the page there would appear a floating menu that would be fixed at the top of the page but I do not know how to do it. Normal page NormalPageHTML...
asked by 30.11.2017 / 03:31
1
answer

Click another click after 1 second

I would like to know how to click on a button to trigger another click after 1 second. I found this solution here . But I would add this delay of 1 second. Code: $("#button1").click(function(){ $("#button2").trigger('click'); }...
asked by 29.11.2017 / 17:05
1
answer

Tabs with different colors using css and jquery

I need to make some tabs to display information according to the tab clicked, what I do not know how to do is the colors of the tabs, they are different colors when you click each , like could I do this with css and jquery?     
asked by 28.11.2017 / 19:35
2
answers

Simple Ajax to reload a DIV every 30 seconds

I am the following javascript to reload a div every 30 seconds, but it is not working, nor does it display an error. Code: $(document).ready(function() { var $div_novospedidos = $('#div_novospedidos'); $div_novospedidos.empt...
asked by 29.09.2017 / 00:13
1
answer

addClass with Math.round

I am trying to make a script in which when a sensor that is part of the test sends me a number 5, it changes the color of the table that is in red to green. That way the test would be approved. But I'm not able to connect addClass with Math.r...
asked by 29.09.2017 / 14:43
2
answers

Validation based on a list of words

I want to validate a form with Jquery + JQuery Validation, using a list of authorized words. Ex: var PalavrasAutorizadas = ['foo', 'bar', 'fizz', 'buzz' ]; If he enters any word that is not in the list he invalidates the form and do...
asked by 06.09.2017 / 21:16
1
answer

I am not able to run the currency mask through Jquery

I'm trying to set up my inputs with a monetary mask. I called the script as follows: <script type="text/javascript" src="js/jquery-3.2.1.min.js"></script> <script type="text/javascript" src="js/dist/jquery.mask.min.js"> $...
asked by 02.10.2017 / 22:50
1
answer

Error: Uncaught SyntaxError: Unexpected token {with easyui

I'm developing an application with the easyui framework is hosted on azure: link repository of code: link but is giving error: Uncaught SyntaxError: Unexpected token { HtmlCpodigo<html><head><metacharset="UTF-8">...
asked by 04.10.2017 / 01:15
1
answer

How to use the aotext botepage plugin correctly

I'm trying to use this plugin here botepage The problem is that I can not insert any content inside the divs, on page 1 for example say that I want to put "hello" on page 2 say that I want to put "hi" as I do to assign page 2 to div two, pa...
asked by 02.10.2017 / 23:30
1
answer

How to pass the Model to the controller via JQuery

Is it possible to pass the filled Model to the controller via jquery, without having to create a variable and populate it with all fields? Example: I have a modal popup that opens a partialview with several fields. In this view I have the...
asked by 31.08.2017 / 16:48