jQuery Italia » Tutti i post https://www.jqueryitalia.org/forums/feed/ Wed, 08 May 2024 16:29:14 +0000 https://bbpress.org/?v=2.6.9 it-IT https://www.jqueryitalia.org/forums/topic/solar-powered-advanced-grids-and-infrastructure/#post-52315 <![CDATA[Solar-Powered Advanced Grids and Infrastructure]]> https://www.jqueryitalia.org/forums/topic/solar-powered-advanced-grids-and-infrastructure/#post-52315 Tue, 23 Apr 2024 17:35:14 +0000 Hermanoccum Another essential reason to change to solar power may be the financial savings it provides. Solar energy panels are designed for generating electricity for businesses, reducing or eliminating the necessity for traditional resources of energy. This may result in significant savings on energy bills, particularly in areas with a high energy costs. Furthermore, there are numerous government incentives and tax credits available to companies that adopt solar technology, which makes it much more cost-effective and affordable.

The technology behind solar technology is not at all hard, yet highly effective. Solar panel systems are made of photovoltaic (PV) cells, which convert sunlight into electricity. This electricity are able to be stored in batteries or fed straight into the electrical grid, with regards to the specific system design. So that you can maximize the advantages of solar technology, you should design a custom system this is certainly tailored to your particular energy needs and requirements. This can make certain you have just the right components set up, such as the appropriate quantity of solar power panels in addition to right sort of batteries, to increase your time efficiency and value savings.

https://jessiekol.com/contact-guestbook

]]>
https://www.jqueryitalia.org/forums/topic/one-possibility-of-carbon-neutral-fuel-in-bringing-about-job-prospects-by-matthe/#post-52301 <![CDATA[One Possibility of Carbon-neutral Fuel in Bringing about Job Prospects by Matthe]]> https://www.jqueryitalia.org/forums/topic/one-possibility-of-carbon-neutral-fuel-in-bringing-about-job-prospects-by-matthe/#post-52301 Tue, 23 Apr 2024 09:47:30 +0000 Hermanoccum Matthew Michael D’Agati is the founder of RW, an renewable energy Company in MA.

A couple of a few years ago, venturing into an adventurous journey, Matthew D’Agati ventured into the world of alternative energy, and also in a moments commenced efficiently promoting megawatts of power, primarily near the corporate industry, partnering with solar farm developers and local businesses in the “architecture” of their undertakings.

Continuous media throughout the business, brought Matthew to be a part of a town startup 2 years inside, and in a brief period, he assumed the role of their CSO, in charge of all activity and firm growing, along with being promoted community title.

Through strategical collaborations and shear work ethic, Matt D’Agati brought that company from a marginal to start with-year salary to in excess of a 2 hundred% increase in low profit by spring two. On that premise, Renewables Worldwide’s (RW), a master-possessed company, was started with journey of giving you alternative electric tips for an intelligent and more inexhaustible future.

More chiefly, understanding there is a niche in the internet and an improved approach to accomplish benefits, RW is one of the few businesses in the usa to focus on consumer purchase, specializing in both commercialized and domestic solar run plantation off-take. The sight is to create a profits system on a community-based, statewide, national level, offering a multitude of can be renewed strength features throughout the of RW.

This enthusiasm in their sustainable industry goes on to energize and drive Matt in maintaining his journey to work with institutions that use the equal of furnishing eco-friendly electricity tips for a much alternative later. Matthew brings your own in business from Hesser College.

[url=https://www.thaimtb.com/forum/viewtopic.php?f=3&t=1948537]Grasping small business utility brokers guided by Matt dagati.[/url]

]]>
https://www.jqueryitalia.org/forums/topic/progress-in-concentrated-solar-power-csp-setups/#post-52244 <![CDATA[Progress in Concentrated Solar Power (CSP) Setups]]> https://www.jqueryitalia.org/forums/topic/progress-in-concentrated-solar-power-csp-setups/#post-52244 Mon, 22 Apr 2024 12:19:27 +0000 Hermanoccum Another essential reason to change to solar energy is the cost benefits it gives. Solar power panels can handle generating electricity for businesses, reducing or eliminating the necessity for traditional sourced elements of energy. This will bring about significant savings on energy bills, especially in areas with high energy costs. Furthermore, there are many government incentives and tax credits accessible to businesses that adopt solar technology, making it much more cost-effective and affordable.

The technology behind solar power is not at all hard, yet highly effective. Solar power panels are made up of photovoltaic (PV) cells, which convert sunlight into electricity. This electricity are able to be kept in batteries or fed straight into the electrical grid, with regards to the specific system design. So that you can maximize the advantages of solar power, it’s important to design a custom system this is certainly tailored to your unique energy needs and requirements. This can make sure that you have the best components in place, like the appropriate wide range of solar energy panels as well as the right style of batteries, to increase your power efficiency and value savings.

[url=https://bareknucklebullseye.com/guestbook]Methods solar energy in NH is transforming the energy sector, guided with the help of Matthew D’Agati.[/url]

]]>
https://www.jqueryitalia.org/forums/topic/insurance-and-liability-understanding-the-advantages-of-hiring-trained-drywall/#post-51835 <![CDATA[Insurance and liability: Understanding the advantages of hiring trained drywall]]> https://www.jqueryitalia.org/forums/topic/insurance-and-liability-understanding-the-advantages-of-hiring-trained-drywall/#post-51835 Mon, 15 Apr 2024 00:04:45 +0000 SidneyHap Hey all! Just desired to drop in and share some amazing news—I’ve just started my very own drywall repair company right here in stunning California! рџЏ–пёЏ Considering the ocean breeze in the atmosphere and the sun glowing down, there’s absolutely never been a more suitable time to ensure your home’s walls are in top-notch shape. Our crew focuses in coastal properties, so whether you’re dealing with wear and tear from the salty air or demand some skilled fixes after a storm, we’ve got you protected. Can’t look forward to aid homeowners throughout the coast with their drywall needs! Feel open to reach out if you have any questions or need a quote. Let’s preserve those walls looking immaculate! 😊

]]>
https://www.jqueryitalia.org/forums/topic/advantages-with-solar-power-within-trade-establishments/#post-50938 <![CDATA[Advantages with Solar Power within Trade Establishments]]> https://www.jqueryitalia.org/forums/topic/advantages-with-solar-power-within-trade-establishments/#post-50938 Sun, 24 Mar 2024 20:12:44 +0000 Hermanoccum Another important reason to modify to solar technology may be the cost benefits it offers. Solar panel systems are capable of generating electricity for businesses, reducing or eliminating the need for traditional types of energy. This will bring about significant savings on energy bills, especially in areas with high energy costs. Furthermore, there are many different government incentives and tax credits open to companies that adopt solar technology, rendering it much more cost-effective and affordable.

The technology behind solar power is simple and easy, yet highly effective. Solar energy panels are made of photovoltaic (PV) cells, which convert sunlight into electricity. This electricity may then be stored in batteries or fed straight into the electrical grid, with respect to the specific system design. To be able to maximize some great benefits of solar technology, you should design a custom system this is certainly tailored to your unique energy needs and requirements. This can make sure that you have just the right components set up, including the appropriate wide range of solar energy panels therefore the right form of batteries, to maximise your power efficiency and value savings.

[url=https://www.whitepages.com/name/Matthew-Dagati]Locate an power broker close to me endorsed by Matt dagati.[/url]

]]>
https://www.jqueryitalia.org/forums/topic/resource-efficient-advancement-and-renewable-power-a-superb-pairing-from-matthe/#post-50905 <![CDATA[Resource-efficient Advancement and Renewable Power: A Superb Pairing from Matthe]]> https://www.jqueryitalia.org/forums/topic/resource-efficient-advancement-and-renewable-power-a-superb-pairing-from-matthe/#post-50905 Sun, 24 Mar 2024 03:50:02 +0000 Hermanoccum Matt Michael D’Agati functions as the owner of Renewables Worldwide, a alternative energy Company in MA.

A few years and years ago, embarking on an adventurous journey, Matt D’Agati ventured into the world of solar, and/or in a point started efficiently selling megawatts of power, predominately near the commercial industry, working with developers of solar farms and local businesses in the “design” of her or his designs.

Ongoing networking with the trade, offered Matt to enroll a town startup two period of time back, and within a short time, he became their Chief Strategy Officer, overseeing all business and firm improvement, in addition to being marketed small section property.

All the way through proper relationships and sheer efforts ethical code, Matt D’Agati brought that service from an initial first off-year salary to in excess of a 1000% greatly enhance in overall commissions by annum two. On that premise, Renewables Worldwide’s (RW), a master-purchased business, was made with vision of offering you sustainable electricity treatments for a more intelligent and more environmentally friendly future.

Even more primarily, recognizing there is an untapped market in the markets and an improved approach to accomplish gains, RW is one of the few organizations in the states to sharpen on customer acquisition, concentrating in both profitable and non commercial sunlight work off-take. Their particular image is to make a profit base on a regional, statewide, national level, offering numerous unlimited electrical devices within just the of RW.

This enthusiasm in all sustainable industry lasts to inspire and inspire Matthew in persistent his venture to work with associations that use the exact same of producing limitless electricity remedies for a way more lasting outlook. Matt needs a new in startup from a business program at Hesser College.

[url=https://prezi.com/z_ambpnm9q_d/the-scientific-revolution-in-the-west/[color=]Understanding the cycles of solar modules through Matthew dagati.[/url]

]]>
https://www.jqueryitalia.org/forums/topic/kit-funghi-allucinogeni-2/#post-42539 <![CDATA[kit funghi allucinogeni]]> https://www.jqueryitalia.org/forums/topic/kit-funghi-allucinogeni-2/#post-42539 Sat, 23 Dec 2023 09:17:05 +0000 candancemorley Psilocybin ist eine normalerweise vorkommende psychoaktive Verbindung, die in über 200 Pilzarten vorkommt. Seine chemische Struktur ähnelt sehr stark dem Serotonin. Psilocybin ist in jüngster Zeit wegen seiner Fähigkeit, intensive spirituelle und magische Erfahrungen durch die Einnahme von “Magic Mushrooms” aus dieser Pilzart zu vermitteln, sehr beliebt geworden. “Magic Mushrooms” sind eine Art von Pilzen, die Psilocybin enthalten. Diese psychedelische Substanz verleiht den “Magic Mushrooms” ihre halluzinogenen Wirkungen. Wie wir wissen, kommen Zauberpilze normalerweise roh oder getrocknet und in Tee oder Kaffee getrunken vor und haben halluzinogene Wirkungen. Diese Übersicht über Psilocybin-Pilze vereinfacht das Anbauverfahren und liefert einige Ideen für die sichere Verwendung der Pilze. Sie werden sicherlich auf faszinierende Kapitel stoßen: Die potenziellen Vorteile von Psilocybin Schritt-für-Schritt-Verfahren zum Anbau von Psilocybin-Pilzen Anbau von Psilocybe Cubensis an Orten, an denen es legal istGängige Probleme beim Anbau von Zauberpilzen Magische Pilze Chemische Zusammensetzung Variabilität Psilocybin-Pilze Verwendung Und vieles mehr. Es begleitet Sie bei jedem Schritt der Prozedur und bietet einfach zu befolgende Anleitungen, wichtige Informationen und nützliche Vorschläge zum Anbau dieser wunderbaren Pilze mit einer einfachen und erschwinglichen Methode. Psilocybin hat eine lange Geschichte der erholsamen Nutzung und wurde von den Kulturen der Ureinwohner seit unzähligen Jahren verwendet. Diese psychedelische Droge wurde für Heilung, spirituelle und religiöse Ereignisse und verschiedene andere Zwecke von vielen alten Gesellschaften Länder gemacht. Um noch mehr über kit funghi allucinogeni zu erfahren, lesen Sie diesen Weblink. Psilocybin ist eine psychedelische Substanz, die die Stimulation des Serotoninspiegels im Gehirn auflöst. Serotonin ist ein körpereigenes Hormon, das für die Steuerung der Stimmung, des Wohlbefindens und des Glücks sowie für die Steuerung des Schlafs, der Verdauung und anderer körperlicher Funktionen zuständig ist. Da der Serotoninspiegel eine entscheidende Rolle bei psychischen Problemen wie Stress, Angst und Depression spielt, wurde Psilocybin als Mittel zur Behandlung von Angst und Depression untersucht. Die Forschungsstudie deutet darauf hin, dass sich die Gefühle und die geistigen Eigenschaften als Reaktion auf positive und negative Reize noch lange nachdem das Psilocybin den Körper des Konsumenten verlassen hat, verändern. Andernorts wurde sogar von einer noch viel längeren Renovierung nach der Behandlung berichtet. Dies ist ein Zeichen dafür, dass Psilocybin-Pilze dauerhafte Vorteile für diejenigen haben könnten, die sich für die Behandlung von Stimmungsproblemen interessieren. Die Kunden sollten sich stets die Zeit nehmen, sich auf eine psychedelische Erfahrung vorzubereiten und den Prozess zu beachten. Wenn Psilocybin zu medizinischen Zwecken eingenommen wird, lohnt es sich, einen qualifizierten Psychotherapeuten zu Rate zu ziehen, der Unterstützung bietet.

]]>
https://www.jqueryitalia.org/forums/topic/convert-javascript-in-jquery/#post-32219 <![CDATA[convert javascript in jquery]]> https://www.jqueryitalia.org/forums/topic/convert-javascript-in-jquery/#post-32219 Wed, 15 Nov 2023 16:08:01 +0000 Matteo Arnesano salve ho provato molti tools online ma non riesco a farlo funzionare

 

function getFrameContents(){
var iFrame = document.getElementById('iView');
var iFrameBody;

iFrameBody = iFrame.contentDocument.getElementsByClassName("post-action-wrapper");
for(var i = 0; i < iFrameBody.length; i++){

document.getElementById("myTextarea").value += iFrameBody[i].innerHTML ;

}

}
.............

non riesco a inserire in questo codice  iframe

$(document).ready(function() {
var elements = $(‘.post-content, .post-action-wrapper, .post-date’);

var html = ”;

elements.each(function(index, element) {
html += element.innerText + ” \n”;
});
document.getElementById(‘myTextarea’).value += html;
});

<iframe src=”https://www.xxx.com/member/38899-giancarlo&#8221; style=”overflow: hidden”; id=”iView” align=”top” frameborder=”0″ height=”100%” width=”100%”></iframe>

]]>
https://www.jqueryitalia.org/forums/topic/richiamare-dati-da-un-db/#post-12370 <![CDATA[Richiamare dati da un db]]> https://www.jqueryitalia.org/forums/topic/richiamare-dati-da-un-db/#post-12370 Fri, 31 Mar 2023 15:52:24 +0000 Pier Buongiorno a tutti
Premetto che sono agli inizi e avrei la necessità di un aiuto:
In un form (.php) ho un menù a tendina con una serie di codici numerici.
con il codice sotto riportato:

$(document).ready(function () {
$(“.options”).click(function () {
$(“#banca1”).text(“.options mouseup …”);
document.getElementById(“banca2”).innerHTML = $codice;
});
});
riesco a recuperare($codice) il codice che ho selezionato.
A questo punto vorrei richiamare dal db (XAMPP) il record corrispondente al codice e riempire i relativi campi nel form.
Ringrazio chiunque possa darmi un esempio di codice perchè sono arenato.
Grazie ancora per la collaborazione
Pier

]]>
https://www.jqueryitalia.org/forums/topic/trigger-click-nel-footer/#post-10310 <![CDATA[trigger click nel footer]]> https://www.jqueryitalia.org/forums/topic/trigger-click-nel-footer/#post-10310 Fri, 15 Apr 2022 17:42:18 +0000 renato Ciao a tutti,

ho un problema che mi sta facendo impazzire, vi spiego.
Il sito è un WordPress con Elementor come editor.
Vorrei che alla fine del caricamento della pagina, attraverso un comando jQuery, venga fatto un click su un elemento in modo da scatenare l’evento per l’apertura di una fisarmonica.
Così ho scritto il mio piccolissimo codice, prima della chiusura del body.
[code]
jQuery(“#elemento”).trigger(“click”);
[/code]
Carico la pagina, ma non succede nulla.
Il bello è che se scrivo il codice nella console di firefox e premo “esegui”, l’evento viene scatenato correttamente.

Evidentemente mi sfugge qualcosa.
Potete aiutarmi? grazie.

p.s. l’editor che visualizzo nel forum per creare questo topic, non contiene pulsanti, perciò ho dovuto chiudere il codice in un tag [code]

]]>
https://www.jqueryitalia.org/forums/topic/jquery-load-con-random/#post-10043 <![CDATA[Rispondi a: jQuery load con random]]> https://www.jqueryitalia.org/forums/topic/jquery-load-con-random/#post-10043 Mon, 14 Feb 2022 16:42:33 +0000 Cosina Scusate, specifico meglio per non dover richiedere dopo e far perdere tempo. Vorrei ottenere l’effetto random su qualunque elemento identificato da una classe e non solo per le immagini. Per esempio:

$(function() {
$("#content").load("contenuti.html .item");
});

Grazie di nuovo

]]>
https://www.jqueryitalia.org/forums/topic/jquery-load-con-random/#post-10042 <![CDATA[jQuery load con random]]> https://www.jqueryitalia.org/forums/topic/jquery-load-con-random/#post-10042 Mon, 14 Feb 2022 16:24:51 +0000 Cosina Buonasera a tutti. Vorrei sapere se è possibile aggiungere l’effetto random ai contenuti caricati con jQuery load.
Per esempio, se carico tutte le immagini (oppure altri elementi) contenute in un file html in questo modo:

$(function() {
$("#content").load("contenuti.html img");
});

Sarebbe possibile visualizzarle con effetto random invece che tutte insieme? Grazie mille per l’aiuto.

]]>
https://www.jqueryitalia.org/forums/topic/vedere-il-contenuto-di-variante-o-script/#post-9692 <![CDATA[Rispondi a: vedere il contenuto di variante o script?]]> https://www.jqueryitalia.org/forums/topic/vedere-il-contenuto-di-variante-o-script/#post-9692 Tue, 07 Dec 2021 16:40:21 +0000 pedro nessuno mi puo’ aiutare?

]]>
https://www.jqueryitalia.org/forums/topic/vedere-il-contenuto-di-variante-o-script/#post-9670 <![CDATA[vedere il contenuto di variante o script?]]> https://www.jqueryitalia.org/forums/topic/vedere-il-contenuto-di-variante-o-script/#post-9670 Fri, 03 Dec 2021 16:24:00 +0000 pedro buona sera a tutti, cortesemente mi sapreste dire come posso vedere il contenuto di queste varianti o script cosa e’ {post_row.TEXT} .Grazie a chi mi risponde

]]>
https://www.jqueryitalia.org/forums/topic/problema-con-template/#post-8754 <![CDATA[problema con template]]> https://www.jqueryitalia.org/forums/topic/problema-con-template/#post-8754 Thu, 13 May 2021 17:03:00 +0000 pedro Buonasera ho un forum/portale in  html ,dal portale riesco a vedere il primo argomento di un forum a scelta. Sono entrato nel template del portale e ho trovato il tag che permette questo e’ [mod_news]<div>{post_row.TEXT}  .ho provato in mille modi non riuscendo a fare niente .Ora chiedo: e’ possibile che dal portale invece di vedere una parte del primo argomento , io possa vedere l’ultima risposta ? non ho idea uno script un tag di template.Grazie a tutti

]]>
https://www.jqueryitalia.org/forums/topic/modifica-data/#post-8176 <![CDATA[Rispondi a: modifica data]]> https://www.jqueryitalia.org/forums/topic/modifica-data/#post-8176 Tue, 28 Jul 2020 14:41:05 +0000 pedro Grazie della risposta, solo che non sono capace di farlo posso solo insiste uno script ho una modifica sul template. Scisa mi ero dimenticato di dire che il mio forum e’ in HTML (scusa)

]]>
https://www.jqueryitalia.org/forums/topic/modifica-data/#post-8173 <![CDATA[Rispondi a: modifica data]]> https://www.jqueryitalia.org/forums/topic/modifica-data/#post-8173 Mon, 27 Jul 2020 14:19:47 +0000 jqueryitalia Ciao Pedro.

Assolutamente si.
Basta utilizzare una chiamata ajax alla quale passi i dati da salvare e ti restituisca i valori da “stampare” a video.

]]>
https://www.jqueryitalia.org/forums/topic/modifica-data/#post-8132 <![CDATA[modifica data]]> https://www.jqueryitalia.org/forums/topic/modifica-data/#post-8132 Fri, 10 Jul 2020 16:45:07 +0000 pedro ciao a tutti ho bisogno se si puo’ fare e come Questa la domanda:
se io, nella sezione discografia riferita al cantante XXXXXXX inserisco 3 post, esempio:
il 9 gennaio 2017 inserisco il postA con titolo nel messaggio: 1955.bla, bla, bla
il 15 gennaio 2017 inserisco il postB con titolo nel messaggio: 1958.blu, blu, blu
il 22 febbraio 2017 inserisco il postC con titolo nel messaggio: 1961.ble, ble, ble

potrei inserire il postD con titolo: 1959.blo, blo blo che poi mi venga in fase di visualizzazione della sua discografia tra il postB e il postC

in pratica vorrei mettere una maschera come questa nel template degli argomenti per gestire una data a mio piacimento. Comunque resta il fatto che rimane la data in automatico.Grazie della pazienza

]]>
https://www.jqueryitalia.org/forums/topic/jquery-ui-js12794-uncaught-typeerror-cannot-read-property-_focustabbable-of/#post-7249 <![CDATA[jquery-ui.js:12794 Uncaught TypeError: Cannot read property ‘_focusTabbable’ of]]> https://www.jqueryitalia.org/forums/topic/jquery-ui-js12794-uncaught-typeerror-cannot-read-property-_focustabbable-of/#post-7249 Fri, 04 Jan 2019 17:33:55 +0000 ans66 Buon giorno a tutti,

Questo errore che mi appare quando clicco su un textbox di una tabella dopo aver chiuso una UI DialogBox. Prima di chiedere aiuto ho provato a trovare tutte le possibile soluzioni in rete ma purtroppo senza esito.

Di seguito codice della UI DialogBox (che credo sia incriminata):
function QualeDB (url){
var divFordialog='<div><input type="checkbox" name="db" id="db" value="db" checked /> Data Base Anno Corrente <br /><input type="checkbox" name="dbst" id="dbst" value="dbst"/> Data Base Anni Passati <br /></div>';

var mydialog=$(divFordialog)
.dialog({
autoOpen: false,
modal: true,
title: "In quale data base vuoi cercare",
closeOnEscape: false,
open: function(event, ui) { $(".ui-dialog-titlebar-close").hide(); },
buttons: [
{
text: "OK",
id: "okbtnid",
click: function() {
DB_AnnoCorrente_Is_Checked( $('#db').is(":checked"),url );
$( this ).dialog( "destroy" ).remove();
}
}
],
position: {
my: "center",
at: "center",
of: $("body"),
within: $("body")
}

});

return mydialog;

}

funzione avviata dal dialog:

<pre class="lang:js decode:true " title="funziona che lancia la ricerca records nel database appropriato">function DB_AnnoCorrente_Is_Checked(Ischecked, url) {
if (Ischecked==true) {DbStorico=false; GetData("trova", url);} else { DbStorico=true; url +="&db=entusc_stor"; GetData("trova", url)};
}
Tabella in php con TextBox:

<pre class="lang:php decode:true " title="tabella con textBox"><!DOCTYPE html>
<html>
<head>

<title>Tabella Entrate Uscite</title>
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="css/jquery-ui.css">
<link rel="stylesheet" href="css/tabGEU_style.css">
<script src="js/jquery.js"></script>
<script src="js/jquery-ui.js"></script>
<script src="js/tabentusc.js"></script>
<script src="js/menu.js"></script>

</head>
<body>




<div class="tabelle" align="center" >
<table id="tab" width="55%" height="8%" border="1" >
<tr >
<td align="left" width="100%" >

<font>Tabella Entrate Uscite </font>

</td>
</tr>
</table>
<table id="tab" width="55%" height="40%" border="1" >
<tr >
<td align="left" >
<p>Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" id="datepicker" value="<?php if(!empty($array)){ $res=explode('-',$array[$nrRec][0]) ; echo $res[2]."/".$res[1]."/".$res[0]; } ?>" />
<input id="mese" type="text" name="mese" size="6" value="<?php if(!empty($array)) echo MonthName($res[1]); ?>">
<input id="anno" type="text" name="anno" size="2" value="<?php if(!empty($array)) echo $res[0]; ?> "></p>
</td>
</tr>
<tr >
<td align="left" >
<font>Soggetti: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><input type="text" id="soggetto" name="soggetto" value="<?php if(!empty($array)) echo $array[$nrRec][1]; ?>">
<select id="soggetti" name="soggetti">
<option value="inserisci">inserisci</option>
<?php
if(!empty($resultSog)) {

$options="";
$max = sizeof($resultSog);
for($i = 0; $i < $max;$i++)
{
if ($resultSog[$i][1]!=trim($array[$nrRec][1])) {
$options.= '<option value="' . $resultSog[$i][0] . '">' . $resultSog[$i][1] . '</option> ';
} else {
$options.= '<option value="' . $resultSog[$i][0] . '" selected>' . $resultSog[$i][1] . '</option> ';
}
}

$options.='<option value="'.strtoupper("nuovo soggetto").'">'.strtoupper("nuovo soggetto").'</option>';
echo $options;

}
?>
</select>
</td>
</tr>
<tr >
<td align="left" >
<font>Valore: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><input type="text" id="valore" name="valore" value="<?php if(!empty($array)){ setlocale(LC_MONETARY, 'it_IT'); $val=$array[$nrRec][2]; echo "&euro; ".sprintf("%01.2f", $val); } ?>">
</td>
</tr>
<tr >
<td align="left" >
<font>Categoria: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><input type="text" id="categoria" name="categoria" value="<?php if(!empty($array)) echo $array[$nrRec][3]; ?>">
<select id="categorie" name="categorie">
<option value="categorie">inserisci</option>
<?php
if(!empty($resultCat)) {
$max = sizeof($resultCat);
for($i = 0; $i < $max;$i++)
{
if ($resultCat[$i][1]!=trim($array[$nrRec][3])) {
$options.= '<option value="' . $resultCat[$i][0] . '">' . $resultCat[$i][1] . '</option> ';
} else {
$options.= '<option value="' . $resultCat[$i][0] . '" selected>' . $resultCat[$i][1] . '</option> ';
}
}

$options.='<option value="'.strtoupper("nuova categoria").'">'.strtoupper("nuova categoria").'</option>';
echo $options;
}
?>
</select>
</td>
</tr>
<tr >
<td align="left" >
<font>Dove Acquistato: </font><input type="text" id="doveacquis" name="doveacquis" value="<?php if(!empty($array)) echo $array[$nrRec][4]; ?>">
<select id="doveacq" name="doveacq">
<option value="doveacquistato">inserisci</option>
<?php
if(!empty($resultDove)) {
$max = sizeof($resultDove);
for($i = 0; $i < $max;$i++)
{
if ($resultDove[$i][1]!=trim($array[$nrRec][4])) {
$options.= '<option value="' . $resultDove[$i][0] . '">' . $resultDove[$i][1] . '</option> ';
} else {
$options.= '<option value="' . $resultDove[$i][0] . '" selected>' . $resultDove[$i][1] . '</option> ';
}
}

$options.='<option value="'.strtoupper("nuovo doveacquistato").'">'.strtoupper("nuovo doveacquistato").'</option>';
echo $options;
}
?>
</select>
</td>
</tr>
</table>
<table id="tab" width="55%" height="8%" border="1" >
<tr >
<td id="one" align="center" width="3%" >
<div class="uno" title="Primo" >

</div>
</td>
<td id="two" align="center" width="3%" >
<div class="due" title="Indietro" >

</div>
</td>
<td id="three" align="center" width="3%" >
<div class="tre" >
<input id="nrrec" name="nrrec" type="text" size="3" value="<?php if(!empty($array)) echo $nrRec+1; else echo "0"; ?>">
</div>
</td>
<td id="four" align="center" width="6%" >
<div class="quattro" >
<font id="totrec">di [<?php echo $num_rows; ?> ] </font >
<input type="hidden" id="totR" name="totR" value="<?php echo $num_rows; ?>" />
</div>
</td>
<td id="five" width="3%" >
<div class="cinque" title="Avanti" >

</div>
</td>
<td id="six" width="3%" >
<div class="sei" title="Ultimo" >

</div>
</td>
<td id="seven" width="3%" >
<div class="sette" title="Inserisci" >

</div>
</td>
<td id="eight" width="3%" >
<div class="otto" title="Conferma" >

</div>
</td>
<td id="nine" width="3%" >
<div class="nove" title="Cancella" >

</div>
</td>
<td id="ten" width="3%" >
<div class="dieci" title="Aggiorna" >

</div>
</td>
<td id="eleven" width="3%" >
<div class="undici" title="Modifica">

</div>
</td>
<td id="twelve" width="3%" >
<div class="dodici" title="Cerca" >

</div>
</td>
<td id="thirteen" width="3%" >
<div class="tredici" title="Vai al Record" >

</div>
</td>
<td id="fourteen" width="3%" >
<div class="quattordici" title="Delete" >

</div>
</td>
<td id="fifteen" width="3%" >
<div class="quindici" title="Chiudi" >

<?php
if(!empty($array))$id=$array[$nrRec][5]; else $id=0;
echo ' <input type="hidden" id="IdGEU" name="IdGEU" value="'.$id.'" />
<input type="hidden" id="server" name="server" value="'.$server.'" />
<input type="hidden" id="user" name="user" value="'.$user.'" />
<input type="hidden" id="passw" name="passw" value="'.$passw.'" />
<input type="hidden" id="nrRsalvato" name="nrRsalvato" value="" />';
?>

</div>
</td>

</tr>
</table>

</div>

<div id="indivphp" style="visibility: hidden">
<div id="dialogPHP" title="" value="" >
</div>
</div>
<div id="indivphp2" style="visibility: hidden">
<div id="dialogPHP2" title="" value="" >
</div>
</div>
<div id="indivphp3" style="visibility: hidden">
<div id="dialogPHP3" title="" value="" >
</div>
</div>

<span id="div_hidden" style="visibility: hidden">
<div id="scelta"></div>
<div id="scelta2"></div>
<div id="input" title="Parola da cercare" value=""></div>
<div id="data" title="Data da cercare" value=""></div>

<div id="dialog" title="Data da trovare">
<input type="text" id="datepicker2" /><input type="submit" value="|||" id="btnDate">
</div>
<input type="submit" id="opener" style="visibility: hidden" >
</span>

<div id="spin"> </div>

</body>
</html>

Grazie davvero per l’aiuto che mi potrete dare. Fatemi sapere se necessitate visionare ulteriore codice.

 

]]>
https://www.jqueryitalia.org/forums/topic/script-per-textarea/#post-7246 <![CDATA[Script per textarea]]> https://www.jqueryitalia.org/forums/topic/script-per-textarea/#post-7246 Wed, 31 Oct 2018 14:10:26 +0000 Cosina Buongiorno, vorrei aiuto per modificare lo script che segue. Ora, se si deseleziona una voce selezionata in precedenza, questa viene duplicata nell’elenco in textarea. Vorrei, quantomeno, che questo non avvenisse e, se possibile, che la voce, se deselezionata, venisse cancellata anche dall’elenco. Grazie per l’aiuto
<pre class=”lang:js decode:true “><input type=”checkbox” class=”selectfield” name=”selectfield” value=”IB2001″>IB2001</input><br>
<input type=”checkbox” class=”selectfield” name=”selectfield” value=”IB2002″>IB2002</input><br>

<textarea style=”width:100%” name=”info” id=”info” cols=”20″ rows=”5″></textarea>

<script
src=”https://code.jquery.com/jquery-3.3.1.min.js&#8221;
integrity=”sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=”
crossorigin=”anonymous”></script>

<script>
window.onload=function(){

$(“.selectfield”).on(“change”, function() {
var $select = $(this);
$(“#info”).val(function(i, val) {
return val += ‘\n’+$select.val();
})
});
}
</script>
 

]]>
https://www.jqueryitalia.org/forums/topic/problema-stringa-di-ritorno-ajax/#post-7224 <![CDATA[Rispondi a: Problema stringa di ritorno ajax]]> https://www.jqueryitalia.org/forums/topic/problema-stringa-di-ritorno-ajax/#post-7224 Fri, 01 Jun 2018 17:48:34 +0000 jqueryitalia Ciao dlivi.

Prova a modificare il datatype in “text” o, ancora meglio, in json.

In questultimo caso il tuo file php come ultima istruzione dovrà avere la seguente:

$result = json_encode( array('risultato' => 'il_tuo_risultato') );

In questo modo ti sarà restituito un oggetto json che potrai stampare con dati.risultato
In definitiva la tua funzione, per usare json, dovrà essere modificata come segue:

$.ajax({
	type: 'post',
	url: path + 'miourl.php',
	data: 'param1=' + $('#param1').val(),
	dataType: 'json',
	success: function(dati){
		alert(dati.risultato);
	},
	error: function(){
		alert('errore');
	}
});

Buon lavoro!

]]>
https://www.jqueryitalia.org/forums/topic/problema-stringa-di-ritorno-ajax/#post-7209 <![CDATA[Problema stringa di ritorno ajax]]> https://www.jqueryitalia.org/forums/topic/problema-stringa-di-ritorno-ajax/#post-7209 Thu, 31 May 2018 11:49:42 +0000 dlivi Buongiorno a tutti,

sto diventando matto per un problema con una chiamata Ajax.. in particolare invio dei dati a pagina PHP tramite metodo “POST”.

Questa è la chiamata:

$.ajax({
	type: "POST",
	url: path+"miourl.php",
	data: "param1="+$("#param1").val(),
	dataType: "html",
	success: function(dati){
		alert(dati);
	},
	error: function(){
		alert("errore");
	}
});

Nella pagina PHP ricevo la variabile param1 passata tramite POST, eseguo una query e resistuisco un valore di ritorno.

Il valore di ritorno puo essere una serie di numeri oppure se la query non contiene dati restituisco 0.

Il problema lo trovo quando restituisco lo 0. invece che tornare 0, mi ritorna 0 con 4 spazi; “0    “(cosi) invece che “0”. PERCHE???? DOVE SBAGLIO???

premetto che quando il ciclo restituisce 0 dalla pagina PHP lo eseguo con un echo “0”;

Ho provato anche a rimuovere gli spazi con string.replace, ma non me li toglie… la cosa strana è che se metto “PIPPO” mi ritorna “PIPPO    “.

quindi se vado a confrontare il valore di ritorno con un if else il valore non è 0 o PIPPO, ma è “0    ” e/o “PIPPO    “.

 

Grazie a chi potrà aiutarmi

 

 

 

]]>
https://www.jqueryitalia.org/forums/topic/problema-ajax-e-php-passaggio-variabili/#post-7208 <![CDATA[Rispondi a: Problema Ajax e Php passaggio variabili]]> https://www.jqueryitalia.org/forums/topic/problema-ajax-e-php-passaggio-variabili/#post-7208 Wed, 30 May 2018 22:55:43 +0000 jqueryitalia Ciao JAndrea.

Sicuro che il file functions.php ritorni un JSON e non una stringa?

]]>
https://www.jqueryitalia.org/forums/topic/problema-connessione-con-parametri-get/#post-7201 <![CDATA[Problema connessione con parametri GET.]]> https://www.jqueryitalia.org/forums/topic/problema-connessione-con-parametri-get/#post-7201 Fri, 27 Apr 2018 19:12:48 +0000 tom580933 Ciao a tutti,
ho riscontrato un grosso errore nella funzione GET di Jquery.
Vi spiego brevemente cosa devo fare: c’è un for che va da 1 a 10, (con console.log ho controllato e va alla perfezione), in questo for prima printo nella console (tramite console.log) il numero del for (1,2,3,4,5,6,7,8,9,10) e successivamente faccio una richiesta GET ad una pagina , passando come parametro “L” il numero del for.
Nella console conta da 1 a 10 alla perfezione, ma  le richieste GET non le fa in ordine, ovvero:
4,3,8,2,7,5,1,6,9,10 ad esempio e varia ogni volta, ma l’ordine è quasi sempre errato.
Di seguito allego il codice JS / Jquery che utilizzo attualmente:

for (i = 1; i <= data; i++) {
console.log("Scan: "+i);
//i == messaggio da ottenere
sleep(40);
$.get("chat_mex.php?l=" + i, function(data2){
if (data2 != "chat.command.stop.limit"){
$("#central_room").append(data2);
$('#central_room').scrollTop($('#central_room')[0].scrollHeight);
}
});
}
id_messaggio = Number(data)+1;
});

Come posso sistemare l’errore?

PS: mettendo sleep (40) (è una funzione che fa da delay), risolvo l’errore parzialmente ma se la connessione impiega più di 40ms per caricare il messaggio l’ordine si bugga nuovamente!
HELP!

]]>
https://www.jqueryitalia.org/forums/topic/problema-ajax-e-php-passaggio-variabili/#post-7199 <![CDATA[Rispondi a: Problema Ajax e Php passaggio variabili]]> https://www.jqueryitalia.org/forums/topic/problema-ajax-e-php-passaggio-variabili/#post-7199 Thu, 12 Apr 2018 12:10:33 +0000 JAndrea Salve sono ancora io, sto tendando nuove soluzioni e testando questo script ma mi sono accordo che non arriva neanche al “success”, lo script riceve correttamente i dati ma si ferma li, come mai?

    <head>
        <script type="text/javascript">    
            function elimina(id, funzione) {            
            var Input = {
                elimina: id,
                funzione: funzione
            };
            alert(Input.elimina + Input.funzione);
            $.ajax({  
                  type: "POST",
                  url: "functions.php", 
                  data: JSON.stringify(Input),
                  dataType: "json",
                  success: function(risposta) {
    //                $.growlUI(risposta);
                    alert("Chiamata riuscita." + Input.elimina);             
                    $("div#risposta").html(risposta); 
                  },
                  error: function(){
                    alert("Chiamata fallita.");
                  } 
                });
                return false;
            };
        </script>
    </head>
    <body>
        <button type="button" onclick="elimina(22, 'nomefunzione')">Clicca qui</button>
        <div id="risposta"></div> 
    </body>
]]>
https://www.jqueryitalia.org/forums/topic/problema-ajax-e-php-passaggio-variabili/#post-7198 <![CDATA[Problema Ajax e Php passaggio variabili]]> https://www.jqueryitalia.org/forums/topic/problema-ajax-e-php-passaggio-variabili/#post-7198 Wed, 11 Apr 2018 15:50:37 +0000 JAndrea Buonasera a tutti, sono Andrea ed è la prima volta che scrivo in un form.
Ringrazio anticipatamente tutti quelli che cercheranno di arrivare ad una conlusione insieme a me.

Ho un ciclo dove vengono generati dei form per creare una lista e dei pulsanti che servono ad eliminare record, quindi ogni pulsante ha un valore univoco

            . "<form class='formelimina' method='POST'>"
            . "<input type='hidden' value='delServIntServ' name='funzione' class='funzione' />"
            . "<button type='submit' name='elimina' value='".$id_serv."' class='elimina FR BOTT'><span title='elimina' class='fa fa-times fa-1x' aria-hidden='true'></span></button>"        
            . "</form>"

come vedete passo il nome della funzione che utilizzo per eliminare i record e passo il valore di un id, devo passare questi valori con ajax ma uso le classi perchè non possono chiaramente coesistere id uguali, ecco la funzione che elimina

if (isset($_POST['funzione']) && isset($_POST['elimina']))  {
    $funzione = $_POST['funzione'];
    $elimina = $_POST['elimina'];
    switch ($funzione) {
            case "delServIntServ": 
            delServIntServ($elimina);           
            break;   
    }
}
    
function delServIntServ($elimina) {
        $sqltxt = "SELECT id_serv FROM date_serv WHERE id_serv='$elimina'";
        $query = querySql($sqltxt);
        $arrQuery = mysqli_fetch_row($query);
        $arrNums = count($arrQuery);

        if ($arrNums == 0) {
            $sqltxt = "DELETE FROM servizi WHERE id='$elimina'";
            $query = querySql($sqltxt);

            if (!$query) {
                print "Errore eliminazione record.";
            }
            else {
                ?>
                print "Record eliminato.";            
            }
        }
        else {
                print "Impossibile eliminare record, il servizio è ancora associato ad almeno un Cliente.";                    
            }
    }    

di seguito invece il codice ajax che utilizzo per ricevere le variabili

$(document).ready(function() {  
          $("form.iscrizione").submit(function(){  
            var id = $(".elimina").val();  
            var funzione = $(".funzione").val();
            $.ajax({  
              type: "POST",
              url: "lib/functions.php",  
              data: {"elimina": id, "funzione": funzione},
              dataType: "html",
              success: function(risposta) {             
                $("div#risposta").html(risposta);  
              },
              error: function(){
                alert("Chiamata fallita.");
              } 
            });
            return false;
            });
        });

<div id="risposta"></div> 

Questo è quanto, l’errore non lo ricevo perchè in questo caso fa tutto php, mi elimina i record ma sembrerebbe non passare minimamente da ajax

Vi chiedo cortesemente di esaminare questo caso perchè…sono fermo e proprio non capisco, grazie mille ancora per il vostro prezioso aiuto.
a presto,
Andrea

]]>
https://www.jqueryitalia.org/forums/topic/datetimepicker-e-ie-11-non-visualizzo-glyphicon/#post-7195 <![CDATA[Datetimepicker e IE 11: non visualizzo glyphicon]]> https://www.jqueryitalia.org/forums/topic/datetimepicker-e-ie-11-non-visualizzo-glyphicon/#post-7195 Sat, 10 Mar 2018 23:40:06 +0000 Giulo77 Ciao a tutti, come da titolo visualizzo correttamente su chrome e firefox ma su IE nulla. Ho provato ad abbassare i controlli di sicurezza ed ho verificato l’abilitazione del downliad dei font ma nulla. Qualche suggerimento?

]]>
https://www.jqueryitalia.org/forums/topic/summernote-e-modal-con-scrollbar/#post-7194 <![CDATA[summernote e modal con scrollbar]]> https://www.jqueryitalia.org/forums/topic/summernote-e-modal-con-scrollbar/#post-7194 Sat, 10 Mar 2018 23:34:55 +0000 Giulo77 Ciao a tutti, da calendario apro una modal per inserire un evento e tra i vari dati ho un textarea gestita con summernote. Mi trovo in alcune pagine ad avere la scrollbar del browser e quella della textarea di summernote…se ad esempio entro in modifica ed ho scritto parecchio con la rotella del mouse scorro sia la textarea che la pagina, ma in particolare arrivo sul fondo di summernite, poi successivamente apro la modal di inserimento ma il cursore di summernote e invisibike come se fosse rimasto nella posizione della modal precedente….di conseguenta devo dare 2 o 3 invii prima di vederlo, cioé posso scrivere ma il testo é nascosto sotto la toolbar di summernote.

Non sono molto esperto, faccio solo lo show delle modal quando mi serve e oltretutto sono della stessa pagina ma diverse tra inserimento e modifica…ovviamente non salvo altrimenti ricaricherebbe la pagina…magari entro in modifica per rivederne uno e subito dopo vado ad inserirne uno nuovo ed ecco il problema.

Devo fare in modo di distruggere le modal?

]]>
https://www.jqueryitalia.org/forums/topic/fullcalendar-caricare-da-sql-solo-eventi-della-vista/#post-7193 <![CDATA[Fullcalendar: caricare da sql solo eventi della vista]]> https://www.jqueryitalia.org/forums/topic/fullcalendar-caricare-da-sql-solo-eventi-della-vista/#post-7193 Sat, 10 Mar 2018 23:24:23 +0000 Giulo77 Ciao a tutti, utilizzo javascript e php da un anno quindi non sono molto pratico. Attualmente carico gli eventi da mysql tramite php. Dovrò importare dati per qualche anno quindi ho paura che diventa tutto lentissimo. Mi chiedevo se esiste un modo per caricare solo i dati che servono per la vista. Esempio se sono sul mese di marzo solo gli eventi del mese piuttosto che della settimana. So che posso fare il get della vista quindi dovrei poi ricavare le due date degli estremi…é possibile? Se si oltre a chiave classica id conviene fare altra sul db per rendere il tutto più velice? Tutto ciò sarebbe utile anche per quando inserisco/modifico evento che eseguo con chiamata ajax che quindi richiama la pagina entrando nella vista settimanale di default e magari stavo operando sul mese successivo…ok ricaricarla ma almeno da dove mi trovavo.

 

Già che ci sono chiedo…quando inserisco evento lo visualizza nella colonna di riferimento ed ho pochissimo spazio fino alla fine della colonna per poterne inserire un altro…c’é modo di farli finire qualche pixel prima tutti in modo dal non dover fare operazioni chirurgiche e soprattutto senza fare magheggi sul css?

 

La mia chicca finale sarebbe poi riuscire ad inserire in automatico l’evento in outlook…é possibile? Qualche esperienza in merito?

]]>
https://www.jqueryitalia.org/forums/topic/fullcalendar-caricare-da-sql-solo-eventi-della-viata/#post-7191 <![CDATA[Fullcalendar: caricare da sql solo eventi della vista]]> https://www.jqueryitalia.org/forums/topic/fullcalendar-caricare-da-sql-solo-eventi-della-viata/#post-7191 Sat, 10 Mar 2018 22:32:24 +0000 Giulo77 Ciao a tutti, premetto che é solo un anno che mi cimento in programmazione javascript e php. Utilizzo Fullcalendar e dovrei poi migrare qualche anno di eventi. Attualmente carico tutto tramite php ma penso che il risultato ottimale sia quello di caricare solo gli eventi relativi alla vista corrente. Entro in modalità settimana ma sono disponibili tutte (giorno/mese/agenda). Non so se é possibile ma penso che il massimo sarebbe caricarli per data minima e massima. So che si può sapere il tipo di vista quindi alla pressione dei bottoni di cambio dovrei ricaricare la pagina. Ciò servirebbe anche quando inserisco/modifico appuntamento tramite chiamata ajax che alla chiusura della modal attualmente richiama la pagina senza riposizionarsi nella vista relativa nella data/settimana o mese corrente.

Già che ci sono chiedo se é possibile far finire prima il riquadro dell’evento perché se lo carico per tutte le ore disponibili e poi voglio inserirne un altro  ho un millimetro di soazio per il puntatore del mouse.

Ultima cosa volevo sapere se qualcuno ha provato a generare l’evento in outlook…forse questo si può fare al di la se si usa fullcalendar i meno

]]>