מדיה ויקי:Common.js: הבדלים בין גרסאות בדף
סימון |
ניסוי |
||
| שורה 234: | שורה 234: | ||
$( '<input>', { 'type': 'button' } ) | $( '<input>', { 'type': 'button' } ) | ||
.val( 'סמן' ) | .val( 'סמן' ) | ||
.click( function() { | .click( function( e ) { | ||
e.stopPropagation(); | |||
var elem = $( this ).closest( '.paramvalidator-wrapper:visible' ).next(); | var elem = $( this ).closest( '.paramvalidator-wrapper:visible' ).next(); | ||
elem.css( { border: 'solid red 3px' } ); | elem.css( { border: 'solid red 3px' } ); | ||