Sha256: 3e9f42d50c3bfcb29865114b506f8fab185b5b03b3c8fb64f25607ca00ad2a70
Contents?: true
Size: 831 Bytes
Versions: 3
Compression:
Stored size: 831 Bytes
Contents
var activeRequests = 0; $(function() { $('#change').text('I changed it'); $('#drag').draggable(); $('#drop').droppable({ drop: function(event, ui) { ui.draggable.remove(); $(this).html('Dropped!'); } }); $('#clickable').click(function() { var link = $(this); setTimeout(function() { $(link).after('<a href="#">Has been clicked</a>'); $(link).after('<input type="submit" value="New Here">'); $(link).after('<input type="text" id="new_field">'); $('#change').remove(); }, 500); return false; }); $('#waiter').change(function() { activeRequests = 1; setTimeout(function() { activeRequests = 0; }, 500); }); $('#with_focus_event').focus(function() { $('body').append('<p id="focus_event_triggered">Focus Event triggered</p>') }); });
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
capybara-0.3.5 | spec/public/test.js |
bjeanes-capybara-0.3.2 | spec/public/test.js |
bjeanes-capybara-0.3.1 | spec/public/test.js |