Questions tagged as 'jquery'

1
answer

Apply limit function in all textareas

I am imposing limit of characters in my textareas manually with this code: <textarea onKeyDown="limitText(this.form.message,this.form.countdown,240);" onKeyUp="limitText(this.form.message,this.form.countdown,240);"></textarea>...
asked by 12.12.2014 / 23:44
2
answers

How can I add a tagname (data-state) to my input hidden with attr?

I'm not able to add a data-state as I did with the remaining tag (value, type, name, etc) as shown in the following image: $(".clicka").on("click", function () { $('#calendartable .tdfull').each(function (k) { if ($(this)....
asked by 12.12.2014 / 13:08
3
answers

remove dynamic div with jQuery counter

Hi, I'm generating fields dynamically using Jquery, and for each field I add at the end of the id a counter. I was wondering how I could do to remove the div that encompasses the button and the fields. this is my form: $contador = ''; fo...
asked by 28.10.2015 / 20:17
1
answer

WebService of the post office for more than one product per freight [closed]

Hello, I'm using the webservice of brokers: link To calculate the cost and term of the freight. The call is made via JS (jquery / ajax) and the webservice is in C #. I already use the service successfully for 1 product. The question i...
asked by 14.04.2016 / 21:48
2
answers

Angular Datepicker - Prev and Next

I'm using the following calendar in my project: link I need to customize the back and forth buttons of the calendar, I disabled these buttons from the default calendar (I searched the class and gave a display none), but I need to use the...
asked by 15.04.2016 / 18:53
1
answer

Creating libraries with multiple executions like Jquery [duplicate]

I'm now starting to develop my own Javascript libraries. I already understand a bit how prototype works but I still do not understand how I can execute on the same request more than one method as jquery does ... EX: //no jquery eu posso ex...
asked by 08.04.2016 / 03:31
1
answer

Passing data by Jquery

I'm trying to pass some data via Jquery to another php page. I create tag < a > via echo : echo "<a id='".$feed_id."' class='like'> Teste LINK </a>"; • The variable $ feed_id should return a numeric ID (eg...
asked by 19.05.2015 / 00:31
2
answers

Pass variable jquery to filename - as if it were get

Hello, guys, I'm not getting information on this because I do not know how to look, I tried to get jquery variables, and stuff like that and did not return what I need. It is as follows: I need to pass a variable into js in the file name and w...
asked by 20.05.2015 / 17:10
1
answer

Why do not jquery events work when I create an object via javascript innerHTML?

I am making the following code: var botoesTela = "<button id='okcad' class='botao_padrao botao_ok' value='OK' onclick=''> <img src='/php/Images/OK.png' alt='OK' /> OK </button>"; divBotoes.innerHTML = divBotoes.innerHTML + bo...
asked by 27.11.2014 / 03:01
1
answer

How to update "form / form" without Refresh?

My form is a shopping bag, when .submit () the form # add-cart-head, it adds the product without refresh, but I wanted to have an answer that updates the bag that sits on top of page. The "GET" in the sequence even works, but does not update for...
asked by 06.12.2014 / 01:31