Widget:Singlepaymentsepa: Unterschied zwischen den Versionen

Aus Freifunk Dresden - Anwender-Wiki
Zur Navigation springen Zur Suche springen
Zeile 4: Zeile 4:
 
<script type="text/javascript" src="/qrcode/jquery.qrcode.min.js"></script>
 
<script type="text/javascript" src="/qrcode/jquery.qrcode.min.js"></script>
  
// move new jQuery completely in new object and use this.
+
 
var my = {};
 
my.query = jQuery.noConflict( true );
 
  
  
Zeile 12: Zeile 10:
  
 
<script type="text/javascript">
 
<script type="text/javascript">
my.query('#qrcode').qrcode("this plugin is great");
+
jquery('#qrcode').qrcode("this plugin is great");
 
//make qrcode clickable
 
//make qrcode clickable
my.query('#qrcode').click(function() {
+
jquery('#qrcode').click(function() {
 
   alert( "Handler for .click() called." );
 
   alert( "Handler for .click() called." );
 
})
 
})

Version vom 13. Dezember 2018, 15:12 Uhr


<script type="text/javascript" src="/qrcode/jquery.js"></script> <script type="text/javascript" src="/qrcode/jquery.qrcode.min.js"></script>



<script type="text/javascript"> jquery('#qrcode').qrcode("this plugin is great"); //make qrcode clickable jquery('#qrcode').click(function() {

 alert( "Handler for .click() called." );

}) </script>


<a href="bank://singlepaymentsepa?name=Freifunk%20Dresden%20e.%20V.&reason=Mitgliedsbeitrag%20&iban=DE83830654080004956222&bic=GENODEF1SLR&amount="></a>