Skip to content

Instantly share code, notes, and snippets.

Marco Betschart marbetschar

Block or report user

Report or block marbetschar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@marbetschar
marbetschar / form-prevent-multi-submit.js
Last active Nov 16, 2015
Avoid sending HTML form multiple times
View form-prevent-multi-submit.js
$(document).on('submit','form',function(){
$(this).off('submit').on('submit',function(e){ e.preventDefault(); });
});
@marbetschar
marbetschar / index.html
Created Apr 21, 2014
A Pen by Marco Betschart.
View index.html
<div ng-app="app" ng-controller="appController">
<ion-content class="has-subheader">
<div class="row">
<div class="col-20 list">
<div typed-input="email" typed-input-item="emailItem" typed-input-type="email" typed-input-item-types="types"></div>
</div>
</div>
</ion-content>
</div>
@marbetschar
marbetschar / UseCase.js
Last active Dec 21, 2015
jQuery UI enabled popup handling
View UseCase.js
$('a.order-poller').popup({
url: url,
width: 1024,
height: 400,
status: false,
location: false,
refresh: true,
interval: 10000,
title: 'Order Liste'
});
You can’t perform that action at this time.