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");
});...
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...
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...
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(...
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...
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&...
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...
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...
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,...
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()) {...