Questions tagged as 'jquery'

1
answer

Take an element that is inside an iframe

I needed to get a title that is inside an iframe, I did it with jquery but it takes a lot to fade or even disappear. I did so with jquery: $(document).ready(function () { $("iframe").contents().find(".titulo").css("display","none"); });...
asked by 27.07.2018 / 19:45
4
answers

Check the size of the files (all) with Jquey

I have a form that sends email with attachment. You need to do a validation on the same client side. Would you like to submit the form? type: if the sum of attachment sizes is larger than 5MB do not allow sending. HTML: <form id="form...
asked by 25.06.2018 / 16:36
1
answer

I want to move the mouse over a Li, the result appears in the DIV

I want to hover the mouse over a li , the result will appear in div Placing the mouse on Son 2: example: Parent 1 > Son 2 Or in Father 2: Father 2 <li ><a href="#estaEm">Pai 1</a> <ul> <li...
asked by 26.04.2017 / 17:02
1
answer

How to determine the direction of the touchmove

How in the javascript / jquery to know which direction is the touchmove? Example: var ts; $(document).bind('touchstart', function(e) { ts = e.originalEvent.touches[0].clientY; }); $(document).bind('touchmove', function(...
asked by 28.09.2014 / 03:36
1
answer

Running jQuery on the console on a page that does not have jQuery

JQuery is often very useful for taking some page statistics and other things , just make a $('.elemento').each(callback) and you can start to know what is happening on the page. The problem is that this relies on the page doing the...
asked by 12.10.2014 / 19:19
1
answer

How to change content inside the div with Ajax / Jquery?

Here you list all the records that when you click edit opens a modal with a description value. <?php foreach ($beneficios as $v): ?> <tr> <td><?= $v->id; ?></td&...
asked by 31.03.2017 / 16:31
1
answer

Validation does not work jquery

Colleagues I made this script to validate access, but it is not working. Can anyone tell me where the error is? <html> <head> <title>title</title> </head> <script src="https://ajax.googleapis...
asked by 02.04.2017 / 15:53
1
answer

Elaboration of text for pagination description

I have text that shows how many items are being viewed per page based on total items in the bank. Look at an image: Icreatedan"algorithm" (which I am not thinking legal) to define in a label this text showing that data. The function rec...
asked by 12.08.2017 / 22:40
2
answers

Only allow delete key

I have the following script, which blocks all typing in an input, forcing the user to use DatePicker made available: $(".readonly").keydown(function(e){ e.preventDefault(); }); In this same script,...
asked by 09.08.2017 / 21:11
2
answers

Check if email is registered in the DB

I'm doing a search in my DB to check for email, avoiding the registration of it again, but I'm having a problem with the return, the script below sends and treats the return. if (sender.getFieldName() == 'Email') { if (sender.getValue()) {...
asked by 10.08.2017 / 20:26