Questions tagged as 'jquery-plugins'

1
answer

What is the correct way to declare a WebMethod asmx in C # to receive POST requests with parameters?

I'm trying to put together a file upload process for a web service done in c # .asmx but I'm not able to manipulate the sending of parameters through the POST method. This is the webMethod I created: [WebMethod] [SoapHeader("UserAu...
asked by 22.08.2014 / 21:27
1
answer

Masks with jQuery: Phone, CPF and CNPJ

I need to create some masks for CPF, CNPJ and phone. The problem is that I've never used jQuery and I've never done any of this before. I would like somebody to help me because I looked for some things on the internet, like jQuery Plugin Mask, b...
asked by 30.06.2016 / 19:31
4
answers

Plugin bootstrap-material-datetimepicker disable days of the week

I'm using the Timepicker plugin called bootstrap-material-datetimepicker: ( link ). I'd like to be able to turn off some days of the week, or just turn on Wednesdays and Fridays but I can not, can someone give me a hand? Thank you     
asked by 20.04.2016 / 10:55
1
answer

Chained Select: how to use to select Brazilian municipalities in a JSON file from select states

EDITION In the future, someone needs the jQuery version. Here is the code: //select encadeado com JSON $('#uf').on('change', function () { var estado = $(this).val(), cidade = $('#municipio'); $.getJSON('json/municipios.j...
asked by 06.12.2015 / 09:11
2
answers

How to prevent a plugin from conflicting?

I'm writing a plugin for tables called easyTable . After understanding the basic operation of a plugin and how it can perform a thread I read in the documentation that to avoid the conflict it should look like this: (function ( $ ) {...
asked by 10.03.2016 / 18:08
1
answer

Call function without having to instantiate the plugin again

I'm doing a drag and drop plugin with a colleague, but we're having a problem. When we instantiate the plugin it runs normally, but if we want to call some function of this plugin in the variable in which it was instantiated we always have to in...
asked by 04.05.2015 / 17:58
2
answers

Add methods to plugin namespace without selector

I'm creating a plugin in js and need to add some methods to this plugin. This is the base of the plugin so far: (function ($) { function jarbas(params) { ... } $.fn.jarbas = function (params) { // cria fu...
asked by 22.12.2014 / 14:32
1
answer

Autocomplete of jQuery UI only works once

I'm working on a feature of a Rails application where we use a gem called Best in Place , which provides the possibility of inline editing attributes of a model. But there arose the need to use autocomplete of jQuery UI when the user is editing...
asked by 04.12.2015 / 13:03
1
answer

How to implement the jQuery Filer Plugin?

I'm trying to implement a component for uploading images with thumbnails, and I've spent a lot of time looking for one that fits my need. After a day of searching I found the jQuery Filer. Anyway, I'm having difficulties with the implementati...
asked by 21.09.2015 / 23:04
1
answer

How to create pattern with jQuery Validation Plugin?

I need to create a input mask (pattern) for the CPF type 000.000.000-00 and for CNPJ 00.000.000 / 0000-00 via the jQuery Validation plugin. What would be the regex to be creating this validation? Note: CPF and CNPJ will be two differe...
asked by 01.12.2016 / 19:32