-
Using the .call() method in a Javascript object to call methods from another object
So I have an object called toolset that I use to encapsulate some methods that other objects can use. For example I have a method to send an ajax request and on success call back a specific method in another object. so for example I have toolset like so
-
Getting Disabled Form Fields Using JavaScript Only Or jQuery
Edit: So it seems I need to do more research on my posts :P. As it turns out there is a readonly attribute for the input tag. you can simply do: and that will show the field and make it submittable in your form. I am leaving the old post up for those that still…
-
URL Encoder/Decoder
I built this little tool just because 🙂 URL Encoder Decoder Github
-
HTML5 Canvas-JavaScript-based color picker
I made this little tool because i wanted to play a little bit with the canvas in html5 it is a bit simple but useful. I have put the code in github for anyone to see GitHub Repo also here is a direct link for the live demo Demo
-
Check and Submit a Form with Method Function Chaining in Javascript
The other day I was using jQuery chained methods and realized that I had no idea how or why this works.  I figure it would be very nice if I could create my own for checking required fields and submitting a form. For sake of simplicity I am using jQuery in some parts of this example but…
-
Bypassing Ajax Caching When Using MooTools in Joomla
I was working on some Ajax on a project and while debugging I noticed that my responses where exactly the same. Now, I know cashing is important to improve efficiency but in my situation I was using Ajax because I wanted Live responses from my webservice. At first, I thought it was my code but soon realized that…