Questions tagged as 'jquery'

2
answers

Function inputmask () for cpf and cnpj

I'm using the Inputmask plugin, the following JS $("input[id*='cpfcnpj']").inputmask({ mask: ['999.999.999-99', '99.999.999/9999-99'], keepStatic: true }); My input is catching the cpf mask , but gets caught in it. When it...
asked by 05.04.2017 / 20:42
2
answers

Replace value undefined javascript

Within my dashboard, the user makes a filter that goes to the database and returns a JavaScript object through an asynchronous request and the array extension can vary, being able to have a length from 1 to 3, always ! So sometimes whe...
asked by 03.01.2017 / 21:52
2
answers

How to make a menu that when clicking opens another div?

EXAMPLE: I want to create a menu that will have four links, and each link opens a particular div with different contents in each div. type of this site here link the part that has ALL / COMPLETED / LIVE / COMING. OBS: Sorry for anything bec...
asked by 16.11.2016 / 16:17
1
answer

My site is giving Jquery error and I do not know what to do [closed]

I'm new to programming and I'm developing using jquery and boostrap in wordpress. However when uploading the theme to the server this error appears. Thank you for your attention.     
asked by 01.12.2016 / 19:49
1
answer

ReadOnly does not work

When I include an item dynamically in table , I want to leave the cbempresa field with readonly=true and when I have no items in table it needs to be readonly=false , logic works when I use disabled , but%...
asked by 14.11.2018 / 18:09
2
answers

Check if it contains characters in the string

When I use% w / o, it returns me the size, but how do I check if it does not contain any characters? For example: var teste = (como se o usuário tivesse clicado **2x** no **enter/espaço**); Soon teste.length will return 2 , but...
asked by 09.11.2018 / 15:11
3
answers

Plugins or tools to create blog posts? [closed]

I have a personal blog and I will create the session where I create the posts, I wanted to know if there is any plugin or tool that does not depend on any server side language where I create the post, using those styling buttons as in word and i...
asked by 12.02.2014 / 19:03
1
answer

Do not allow change in source code

Does anyone know how to not allow change in "values" by inspecting element? ah a few days ago I entered a website and I tried to change the value of an input, but when I clicked ENTER to save, the input value automatically returned to the same c...
asked by 26.02.2018 / 07:04
4
answers

What is the recommended practice to check if the jQuery Ajax function is present and recognized by the browser, does anyone know?

What is the recommended practice to check if the jQuery Ajax function is present and recognized by the browser, does anyone know? // forma 1 if (!$.ajax) { alert ('Status xhr: não suporta Ajax'); return false; } // forma 2 if (typeof $.ajax...
asked by 15.01.2018 / 16:35
2
answers

How to prevent the number from being less than or equal to 0 in an input type number?

Good evening. I have an input type number (for when ready, my shopping cart can change the quantity) <td> <input type="number" style="width: 50px;" id="<?php echo "p" . $a; ?>" min="1" max...
asked by 06.06.2018 / 22:23