Questions tagged as 'jquery'

2
answers

Restart script after load () function

I would like to know how to use my script within content that will be loaded by the load() function. The function: $(document).ready(function() { $('.submenu').click(function(event) { event.preventDefault(); $('...
asked by 26.08.2014 / 17:12
2
answers

jQuery: Show / Hide DIV within a specific element

I'm having a question in jQuery: I have the following code inside a page, where the "description-img" DIV repeats more than once: <div class="description-img"> <div class="confirmacao" style="display: block; "> <p cl...
asked by 23.08.2014 / 16:47
1
answer

Jquery function call

I'm developing a shopping cart, I'm wanting to put an element inside a DIV, this element has a Jquery function that is not working your call (remove cart products function). $('.add_produto').click(function(){ $.ajax({ url: C...
asked by 04.03.2014 / 21:13
1
answer

Infinite text with jQuery

Would it be possible to set using jquery 3.3.1 a standard character that can not be removed to an input? ex: An input has a @ , and only 20 letters and / or numbers can be added after this @ , but @ does not delete. I tried setting using the...
asked by 02.08.2018 / 05:11
1
answer

How to tell if a dynamic has been clicked on javascript

I need to know if a particular id of a dynamically created <a> has been clicked. formatters: { return " <a href= '#' class='btn btn-warning btnAlterarSolicitacao' data-idSolicitacao='" + row.Id + "' id=btnFazer...
asked by 06.08.2018 / 15:51
3
answers

Is there a plugin that serves as a mask and validator for 24h hours?

I searched but found only plugins for time with "select" and the times in the AM / PM formed. I would like one to be able to type and stay in this format: 23:59:59     
asked by 08.06.2015 / 21:36
1
answer

Jquery function call in HTML created via JavaScript

My main.js and my html. $(function() { /*var ipControlador; $(function carregaFlows() { $.getScript("indexFunction.js", function() { ipControlador = ip; alert(ipControlador); }); });*/ $("#in_port").change(funct...
asked by 19.06.2015 / 19:36
1
answer

Change field Automatically after filled in

I have a form: <div class="span12" style="padding: 10px;"> <form action="<?php echo base_url()?>index.php/chamadas" method="get"> <div class="span2"> <label for="">Data Inicial:<...
asked by 12.06.2015 / 00:06
1
answer

How to "copy" text from one div to another with JQuery?

I'm putting a player on my site. As I do not know much about JS / JQ, I got a simple template on the internet, I set up a layout and I set the script to my liking as far as I could. Now I got stuck on something that I thought was super easy, b...
asked by 22.03.2018 / 22:21
2
answers

Change the color of an image in css (jquery)

I have an image on my page: <img style="border:0;" src="img/corpo_menina.png" alt="" width="320" height="480" usemap="#dtb61iMap" id="dtb61iMap" /> At one point in my application, several changes in my css are made to completely chang...
asked by 25.03.2018 / 01:01