Questions tagged as 'jquery'

0
answers

How to show the result of a conditional structure of Java Script in a text box in html using jquery?

var textoUser = $("#txtFieldUser"); var textoGanhador = $("txtFieldGanhador"); var computerChoice = Math.random(); if (computerChoice < 0.34) { computerChoice = "Pedra"; } else if(computerChoice <= 0.67) { comp...
asked by 21.10.2017 / 02:00
1
answer

Ajax does not send the data to another php page

I'm not able to send the value of an input to another php page. In my products.php page I search the database and load the show_itens page inside a div. When loading data into this div, I mount an input. This "input: deflarg" that I am not ab...
asked by 21.10.2017 / 19:27
1
answer

Block overloaded div access

I have two div's A and B. The B div is with: position: absolute; display: none; width: 100vw; height: 100vh; background-color: rgba(0,0,0,.4); With a botão in div A with display:block for Div B A Div B overla...
asked by 01.11.2017 / 17:43
0
answers

Give a return in if in jquery

How can I give a return in this if to pass the value of the page in ajax? The function defaults to null. Then I get in the if and see and is null it equals 1 and if it is greater than the total, it will receive the value. But I need to make it r...
asked by 18.10.2017 / 21:05
2
answers

How to put two photos on this grid in each row for a 1366 * 768 resolution?

Good evening, I need help (tcc), I found an effect on the internet and decided to incorporate it into my project but some problems arose, so I created a separate file of the effect to be less complicated, instead of having to deal with more line...
asked by 19.10.2017 / 00:36
1
answer

Error in Ajax request with CodeIgniter (url)

I have a very strange problem, if anyone can help, thank you right away. I'm developing an application in CodeIgniter 3.1.6 with PHP 7.1 and Bootstrap 4 . The home screen displays a list of students (obtained from a controller named...
asked by 19.10.2017 / 02:41
3
answers

Generate an iframe from the youtube link with jquery

I would like to generate a iframe from youtube that will return to a div so the user paste the video link into a field, I know how to create with php, but I would like to do with jquery, so I already return to the div without needing ajax .    ...
asked by 08.11.2017 / 13:24
0
answers

Create automatic pagination with laravel and jquery

I need to create a manual pagination on laravel. I did not quite understand the logic of this topic: Manual Paging in Laravel 5.1 a> But I need to get him to create the automatic pages. Not manual. See the example I made. It even works o...
asked by 17.10.2017 / 15:16
2
answers

mouseout of a parent div and a daughter div?

I'm using the .mouseover() and .mouseout() function. Both work but I have a problem. The code below is what I'm using for this purpose. The effect always makes the animation because the div both grows and minga, because it switc...
asked by 25.10.2017 / 17:24
2
answers

Overflow text in jQuery and Bootstrap modal

Good afternoon, I have a function in jQuery to know the number of characters in a given element and I needed to have the text " see more " when it was more than 300 characters and open the modal with the whole information. It turns out that jQue...
asked by 25.10.2017 / 16:18