I am trying to use appendChild() to append another div block to a previous div block. but for some reason I can't append to it.
here is my code:
<script type="text/javascript">
function getSubCat(Parent, Container) {
var parent = $(Parent);
var url =...
currently I need to return one of my stashed data in JSON format, I know I can use Catalyst::View::JSON, but I am not sure how to use this module in my app. Can anyone give me a hand: Here is the my code for stashing data:
package myApp::Controller::Admin::Category;
use strict;
use...
I am trying to add hide/show select boxes on my page. The way it should work is that when I select a category, associated sub-category select box will show up, otherwise no sub-category select box is shown. my trouble is that I can't get sub-category select box show up when i select proper...
I am trying to select the recent entries(last 5 entries in the table) and display on the website,right now I am not sure how I can do that.
here is my resultset:
my $searchResult = $c->model( 'GuestBook::Entry' )->search(
{
entry=>{ '>=' => 2 }
},
{...
I am trying to convert ctime to ymd format in my resultset, since I have 15 entries from my "email" table, i need to loop through all 15 entries, I am not sure how I can loop through it, can anyone help me on this:
my $start = DateTime->now->subtract( days => 15 );
my $end = DateTime->now;
my...
I am using Perl template toolkit to build a English/French Guestbook webpage, right now I am having trouble display country and province name in french, it always display english. I do have translated country and province name in my DB. here is what I did:
$c->stash->{ entry } = $c->model(...
currently i am building a website that has a province/state drop down list, how this list work is that when I select canada/USA, this province/state list show up with proper province or state in the list, if i choose other country, nothing the list is hidden. In order to use it, javascript has...
i am trying to do a pattern match in one of my perl script, but I couldn't figure out what expression i can use, here is the line i wanna match:
ds[traffic_out].value = 8.4164256667e+04
can anyone give me a help on this?
thanks
i found a perl script called check_rrd_data.pl, in this script it requires RRD::File, and i have no idea about RRD::File, there isn't many documents on-line about RRD::File. Is there any one can help me on this perl module.
many thanks!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.