Created
January 3, 2013 13:10
-
-
Save felquis/4443361 to your computer and use it in GitHub Desktop.
Um fragmento do HTJSON
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | |
} | |
} | |
} | |
} | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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