Skip to content

Instantly share code, notes, and snippets.

Jason Busby Jaybuz

Block or report user

Report or block Jaybuz

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
Jaybuz / index.html
Created Feb 16, 2012
JS Validation function
View index.html
<title>js validate</title>
<form id="loginform" method="post" action="#" onsubmit="return validateFields(this)">
<label class="labelarea">Customer Num:</label>
<input id="custninputID" type="text" name="custninput" class="inputarea" onblur="validateFields(this)" data-validate='{"pattern":"/^\\d{4}$/"}' data-error='{"empty":"Please enter something in the customer number input.", "pattern":"Customer number must be 4 digits!"}' /><br />
<span id="custninputID-info"></span><br />
Jaybuz / style.css
Created Oct 15, 2009
Show your xboxGamercard.
View style.css
/* Xbox 360 Gamercard */
.gamercard * {
padding: 0;
margin: 0;
.gamerCard {
/* float: left; */
background: #fefffe url('imgs/layout_news_body.gif') no-repeat right top;
border: 1px solid #b2b2b2;
You can’t perform that action at this time.