Questions tagged as 'jquery'

1
answer

HTML Slider Error [closed]

Hello! I have an HTML slider and I'm deploying PHP to make it manageable, however, when I put PHP, the slider has stopped working. I think it's an error in the following part of the code: echo '<div class="col-md-12" style="...
asked by 17.01.2017 / 05:21
1
answer

How to change the class of a button according to its id and value?

I want to modify the class of a button according to its id and its value. Each <button> has equal identifiers, but different values. I have tried this way below, however only the first button is modified, regardless of the value...
asked by 27.01.2017 / 15:43
3
answers

Hide field required and not required

I have a form. In this form I have two radiobutton with two options. 1) Questao 1 (Obrigatorio) 1 = Sim 2 = Nao ______________________ 2) Questao 2(Obrigatorio) 1 = Vivo 2 = Morto If this question 1 is = Yes Question 2 loses the oblig...
asked by 14.02.2017 / 19:12
3
answers

Adding html with jquery

Good when I want to add an html to the page using jQuery I do this: $("body").html('ddd'); But in this way I delete the old content, can I add the html in the Body without deleting the content of the page?     
asked by 16.12.2016 / 20:02
2
answers

Load button more using list (li) [duplicate]

Well, I need some help. I have a list in the following structure. <ul> <li>TESTE</li> <li>TESTE</li> <li>TESTE</li> <li>TESTE</li> <li>TESTE</li> <l...
asked by 16.01.2017 / 17:32
2
answers

Jquery does not pass the POST value of a form

Colleagues I have a form that I'm using jquery to pass the values to, but the value does not pass to the send.php file. See: <form method="post" name="post" id="contact-form"> <div id="success"></div...
asked by 27.01.2017 / 17:07
4
answers

Return True or False in jQuery Success

< script type = "text/javascript" > $(document).ready(function() { $('#btnEnviarDados').click(function() { var strFomr = $("form").serialize(); $.ajax({ url: $("form").submit(), type: "POS...
asked by 07.02.2017 / 01:48
2
answers

Taking the total in pixels of an element passed as a percentage variable

I am setting a% w_th of% that should be an exact square, but this square should be based on the% w_th of% that is being set with% w_th of% (%), / p> EX: 5% = 105px var larguraVideoItemFirst = $('.video-item-first').width()//retorna 5 pois foi...
asked by 23.01.2017 / 14:55
3
answers

Angularjs Format date

How to format the date in the controller of input type="DATE"? I have this return in the controller ... Sat Aug 06 2016 00:00:00 GMT-0300 (Hora oficial do Brasil) Mon Aug 01 2016 00:00:00 GMT-0300 (Hora oficial do Brasil) You can format...
asked by 16.08.2016 / 00:54
2
answers

Jquery Show does not work in td [closed]

I have the following code snippet: $(".item2").hide(); $("#show").chick(function(){ $(".item2").show(); }); <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script><tableborder="1"&g...
asked by 12.04.2016 / 22:55