Skip to content

Instantly share code, notes, and snippets.

View tanmayk's full-sized avatar
🎯
Focusing

Tanmay Khedekar tanmayk

🎯
Focusing
  • Opensource Seed
  • India
View GitHub Profile
#include 'stdio.h';
#include 'conio.h';
function void main(void) {
clrscr();
print_f("Hello world!!");
}
(function($) {
Drupal.attachBehaviors = function (context, settings) {
context = context || document;
settings = settings || Drupal.settings;
// Execute all of Drupal behaviours.
jQuery.each(Drupal.behaviors, function () {
if (jQuery.isFunction(this.attach)) {
this.attach(context, settings);
}
});
$('#my-submit').bind('ajaxSuccess', function() {
doStuff(this);
jQuery(this).unbind('ajaxSuccess');
});