Posts

Showing posts from April, 2015

Using Bootstrap Multiselect Values in Django Query

Image
Read the documentation of Bootstrap Multiselect . Anyway, just include all the files in you html page (head section), you will need these following files (JS and CSS files):

//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.jshttp://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.csshttp://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.jshttps://dl.dropboxusercontent.com/u/75734877/bootstrap-multiselect.csshttps://dl.dropboxusercontent.com/u/75734877/bootstrap-multiselect.js Copy and save the files if you want to serve it with your own, and use it like this in your template: <script type="text/javascript" src="{% static "js/bootstrap-multiselect.js" %}"></script> Then refer to this JSFiddle for demo. 
Let's say you have this select element in your page with the id, "bldg_type"
<select class="form-control" id="bldg_type" multiple="multiple"> <option value="Ban…

Kowts #1

Image
I have nothing to say here..HAHA :3

All You Have To Do...

Image
...is savor the moment. I think just this time, I'll stop being so pessimistic of the things that is not yet happening.
I'm happier now, not because of a TV show or an episode of an anime series but because of a GIRL .
I described  her as a cute human being like a puppy or kitten. I love her smile, I love seeing her smile. I love her eyes and the rest of her face (like Tim to Mary). HAHA

It's awkward seeing myself  of being this much happy. (grammar eh?!!) LOL
I can't even stop smiling while listening to the song above.

Tim: We're all traveling through time together, every day of our lives. All we can do is do our best to relish this remarkable ride. I think, I'll just be "Tim" for a while. It helps. :D