Tag: jquery

17.11.2014

[cc lang=”html” escaped=”true” width=”500″] Bootstrap 101 Template Hello, world! ADD DEL [/cc] Bootstrap 101 Template Hello, world! ADD DEL

31.03.2014

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 […]

13.02.2014

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

11.03.2013

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/ […]