Here is a quick code snippet showing how to initiate a Bootstrap date picker control when elements other than the input are clicked.
When working with large sets of data, it can be difficult to find smaller sets of data that match specific criterion. Use the Jquery filter method to return a smaller array of data to work with.
The Queensland Government’s Department of Communities has a division which handles child safety. Child abuse manifests in many different ways and Departmental staff cannot always intervene to protect children.
I recently wrote an asynchronous pipeline for my MVC view which displayed a list of users. I wanted to modify each user without a page refresh. This is how I did it.
I had an issue recently where my MVC action was returning some JSON as a result. The issue occurred when Internet Explorer (possibly only earlier versions) got the JSON response, it thought the response should be delivered to the browser. This is quite undesirable.
Just a quick post to point you towards a JQuery WYSIWYG editor I came across recently.
I was working on a bootstrap modal that posted the form via AJAX. On submit, I checked for the success/failure of the form post, then (if successful) hide the modal. Otherwise, leave the modal and display an error Toastr message.
But I had this JQuery error that I couldn’t quite trap and it was driving me bananas.
After some reading (quite a lot of reading), I found this JQuery bug report – http://bugs.jquery.com/ticket/13412. While there is a debate as to whether the […]
I recently stumbled across a great resource relating to images. We’ve all been in the situation where we need to mock up a page quickly. To make the page appear more realistic, it really should have some neatly aligned and floated images or different shapes and sizes. Until now, I would jump into Paint.Net and mock up some images of the required sizes, save them, import them into the project and reference them in the code. http://placehold.it will change all that.