Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7902705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:34:20+00:00 2026-06-03T09:34:20+00:00

I built a rudimentary page navigation system with jQuery . You click the next

  • 0

I built a rudimentary page navigation system with jQuery. You click the next button, it retrieves the next page via AJAX; click the previous, it goes to the one before it, etc. The AJAX request is done via the jQuery $('#dom').html().load() method.

Inside one of the pages pulled is an a href link with an onclick which goes to a custom function (loadPage() — the same function I’m using for the parent page navigation). As you can guess, the onclick event used inside the AJAX page does not work — it’s trying to call a function that doesn’t exist.

Is there a simple way to make this work? Perhaps some other jQuery AJAX method like GET? Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T09:34:21+00:00Added an answer on June 3, 2026 at 9:34 am

    It sounds like you are embedding JavaScript into your html. Don’t do that. Put your JavaScript into an external file and include it with a script tag, just like you do with jQuery.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I built a basic form with ajax validation and page redirection with PHP and
Built a simple JQuery/Ajax newsletter signup form, then went back after the fact to
I built a custom forum for my site using MySQL. The listing page is
I built a basic search form that queries one column in one table of
Built a custom app that will allow users to add jobs to a system.
I built a simple voting system: votes_controller.rb: class VotesController < ApplicationController def vote_up @post
I built home page takeover for an ad spot. My problem: The mouse pointer
I built a jQuery component composed of a set of 3 text boxes, laid
I built a simple action in symfony which generates a PDF-file via wkhtmltopdf and
We built a grant application system for a client. They've now asked for some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.