[cc lang=”html” escaped=”true” width=”500″] Bootstrap 101 Template Hello, world! ADD DEL [/cc] Bootstrap 101 Template Hello, world! ADD DEL
javascript jquery html form element – also submit checkboxes that have the “off” state solution: http://jsfiddle.net/az7s5/ [cc lang=”js” escaped=”true” width=”500″] // serialize form, also send values for checkboxes that are “off” $(form).children().each(function() { add = “”; //access to form element via […]
Check out the built-in function encodeURIComponent(str) and encodeURI(str). In your case, this should work: var myOtherUrl = “http://example.com/index.html?url=” + encodeURIComponent(myUrl); You have three options: escape() will not encode: @*/+ will encode http:// to http%3A// encodeURI() will not encode: ~!@#$&*()=:/,;?+’ encodeURIComponent() will not encode: ~!*()’ sources: http://stackoverflow.com/questions/332872/how-to-encode-a-url-in-javascript
jquery has a great function to serialize forms, that also allows you to respond on the server response if(response). BUT! it ignores all inputs with are flagged “disabled” [cc lang=”html” escaped=”true” width=”550″] [/cc] if you need input fields that a user can not […]
… one of the many things i hate: UPDATES! Because: Never change a running system… and if you do have to, make proper backups and test restore of backup. twitter has no backups. they dropped v1.0 completely, maybe someone can […]
There are people that donate their precious lifetime to making the life of other people better. This needs to be more appreciated in our money-greedy-exploitaion-oriented society. There is a great JQuery Plugin validation.js which does form validation quiet nicely. http://bassistance.de/jquery-plugins/jquery-plugin-validation/ […]