Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: jj0914
  • Order by date
  1. jj0914

    appendChild()

    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 =...
  2. jj0914

    how to return stash data in JSON format

    anyone can give me a hand on this? Thank you
  3. jj0914

    how to return stash data in JSON format

    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...
  4. jj0914

    hide/show select box question

    Dan, I used FireBug to detect any typo and called suparentChosen(), i still can't get it work. I have no clue why. I just got to use javascript, sorry about my lack of knowledge. Johnny
  5. jj0914

    hide/show select box question

    Thanks Dan, I will get those things corrected and see if that works.
  6. jj0914

    hide/show select box question

    anyone?
  7. jj0914

    hide/show select box question

    in my application, the parent category has sub-category, sub-catgory can have sub-category, and so on, basically it is unlimited level of "children
  8. jj0914

    hide/show select box question

    right now when I select "Top Category", their proper sub-categories select box will show up, but when I click one sub-category (some sub-categories have children), their sub-category select box doesn't show up.
  9. jj0914

    hide/show select box question

    so far I have parent->children working, but the children->children not working
  10. jj0914

    hide/show select box question

    Sorry about the lack of information. my application will have few level chained select box, select parent category, proper children category shows up, and the children category might have their children category as well. Right now I am trying to get sub-category's children show in the select...
  11. jj0914

    hide/show select box question

    Dan, I am trying to get sub-category of the child to work, but no luck, i am not sure if i am on a right track, would you mind to have a look <script type="text/javascript" src="http://unbstudent:3000/static/js/effects.js"></script> <script type="text/javascript"...
  12. jj0914

    hide/show select box question

    you are right, i should look closely, it is working now. thank you Dan.
  13. jj0914

    hide/show select box question

    According to your suggestions, i have made these changes: <script type="text/javascript"> function parentChosen (parenty) { parent = $(parent); var children = document.getElementsByClassName('child'); for (i = 0; i < children.length; i++) { Element.hide(children[i])...
  14. jj0914

    hide/show select box question

    sorry about that, here is the client-side code: <script type="text/javascript" src="http://unbstudent:3000/static/js/effects.js"></script> <script type="text/javascript" src="http://unbstudent:3000/static/js/controls.js"></script> <script type="text/javascript"> function parentChosen (parenty)...
  15. jj0914

    hide/show select box question

    yes I do have multiple sub-category select box, here is my whole code: [% WRAPPER wrapper.tt %] [%- PROCESS macros.tt -%] <script type="text/javascript" src="[% c.uri_for("/static/js/effects.js") %]"></script> <script type="text/javascript" src="[% c.uri_for("/static/js/controls.js")...
  16. jj0914

    hide/show select box question

    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...
  17. jj0914

    resultset question

    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 } }, {...
  18. jj0914

    loop through ResultSet

    $c->model( 'Update::Email' ) is the Email table in my Database, ctime is just a column in the Email table
  19. jj0914

    loop through ResultSet

    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...
  20. jj0914

    Template Toolkit problem

    thanks steve, i have fixed the problem. thanks for the help

Part and Inventory Search

Back
Top