Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| (4 välissä olevaa versiota samalta käyttäjältä ei näytetä) | |||
| Rivi 1: | Rivi 1: | ||
<includeonly><script type="text/javascript"> | <includeonly><script type="text/javascript"> | ||
if ( !window.formenabler ) { | |||
window.formenabler = true; | |||
function <!--{$id|default:FormEnabler|escape:'html'}-->_jQueryTest() { | function <!--{$id|default:FormEnabler|escape:'html'}-->_jQueryTest() { | ||
| Rivi 14: | Rivi 16: | ||
function <!--{$id|default:FormEnabler|escape:'html'}-->_funcX() { | function <!--{$id|default:FormEnabler|escape:'html'}-->_funcX() { | ||
console.log( '12432' ); | |||
jQuery('.jwImageSelect').each(function() { | jQuery('.jwImageSelect').each(function() { | ||
| Rivi 19: | Rivi 23: | ||
var select = jQuery( this ); | var select = jQuery( this ); | ||
var classes = jQuery( this ).attr('class').split(' '); | var classes = jQuery( this ).attr('class').split(' '); | ||
console.log( 'asdf' ); | |||
select.find( 'option' ).each( function() { | select.find( 'option' ).each( function() { | ||
console.log( jQuery( this ) | console.log( jQuery( this ) ); | ||
}); | }); | ||
console.log( 'asdf' ); | |||
}); | }); | ||
| Rivi 391: | Rivi 399: | ||
} | } | ||
} | |||
</script></includeonly> | </script></includeonly> | ||


