Skip to content

Instantly share code, notes, and snippets.

@felquis
Created January 3, 2013 13:10
Show Gist options
  • Save felquis/4443361 to your computer and use it in GitHub Desktop.
Save felquis/4443361 to your computer and use it in GitHub Desktop.
Um fragmento do HTJSON
li = HTJSON.parse({
li : {
content : {
label : {
attr : {
'for' : 'amount'
},
content : 'Donation amount ($50 increments):';
},
input : {
attr : {
type : 'text',
id : 'amount',
style : {
border : '0',
color : '#f6931f',
'font-weight' : 'bold'
}
}
}
}
}
});
<li>
<label for="amount">Donation amount ($50 increments):</label>
<input type="text" id="amount" style="border: 0; color: #f6931f; font-weight: bold;" />
</li>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment