Altered $.get() for "Try It" button to prevent execution of example script
parent
a667b0f389
commit
b072ae3772
|
@ -77,10 +77,10 @@
|
|||
{
|
||||
$txt = $( '<textarea>' );
|
||||
|
||||
$.get( 'scripts/ex/class.js', function( data )
|
||||
$.get( 'scripts/ex/class.js', {}, function( data )
|
||||
{
|
||||
$txt.text( data );
|
||||
} );
|
||||
}, 'html' );
|
||||
|
||||
return $trybox = $( '<div>' )
|
||||
.attr( 'id', 'trybox' )
|
||||
|
|
Loading…
Reference in New Issue