Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts

    adding some ajax -tutorials sought plz

    Hi,

    I am trying to add some (simple, lol ) ajax to my cms.

    Currently reading the cgi-ajax module in cpan, I wonder if any of you know of a idiot-proof tutorial. I'm under (my own), time pressure to do this and need to learn it all 'yesterday'.

    any pointers you can give me would be sanity-saving.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #2
    bdl
    bdl is offline
    Regular Coder
    Join Date
    Apr 2007
    Location
    Camarillo, CA US
    Posts
    590
    Thanks
    4
    Thanked 83 Times in 82 Posts
    You need a basic Ajax tutorial or Perl-specific help? I have some experience with Perl, and I can get by if I need to. But for my point of view, if the script returns some value to the Ajax call, it's pretty much language agnostic on the server end.

    What is it you're looking to do, exactly?

  • #3
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    I have a text box where a company name is to be filled in. If after the fourth letter is entered to the text box, there are matches in the db I want the matches to show up like a drop down from the text box. Then the inputter can choose the correct one and it'll be put into the session.

    I have no ajax or js knowledge and so (whilst I have the connection request code), I do not know how to use it to query the db as the data is being entered.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link

  • #4
    Super Moderator
    Join Date
    May 2005
    Location
    Southern tip of Silicon Valley
    Posts
    2,877
    Thanks
    2
    Thanked 164 Times in 159 Posts
    Bazz,

    While there is a little Perl involvement here, 90% of this question involves AJAX. Would you like me to move this to the Javascript/AJAX topic area or do you want to post a new question in that topic area and forget about this one?

  • #5
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts
    Hi FishMonger,

    Thanks for the reply. My naivety on this one shows clearly. I read about it on w3schools and it showed a necessity to use php as well as AJAX. Because I prefer perl, I thought what I am aiming for requires perl with a bit of AJAX. As you say, it must be the other way about.

    So, at the risk of cross-posting, I shall ask a question in the ajax forum.

    bazz
    "The day you stop learning is the day you become obsolete"! - my late Dad.

    Why do some people say "I don't know for sure"? If they don't know for sure then, they don't know!
    Useful MySQL resource
    Useful MySQL link


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •