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

  • Home
  • SEARCH
  • 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 8311651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T19:53:21+00:00 2026-06-08T19:53:21+00:00

I had a little bit of experience in JavaScript + AJAX in PHP, but

  • 0

I had a little bit of experience in JavaScript + AJAX in PHP, but I’ve never had it before in Struts2. I had the habit in PHP which contains a div that I need to be dynamic, and so in the form there is for example a select to call a JavaScript function, that JavaScript function can be defined in the header or in a .js file, and so those JavaScript files which create ajax object and send parameters to another PHP page which contains the same name of the div to change in the first page. But, how can I project this on Struts2? Where to call the JavaScript function and the action function? Would struts2-jquery-plugin make it easier? Unfortunately I don’t any example in the both cases (native Ajax, either jQuery plugin).

  • 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-08T19:53:22+00:00Added an answer on June 8, 2026 at 7:53 pm

    When writing “raw” JavaScript/jQuery the framework doesn’t really matter. You can write JS/JQ as you would with any other server framework–the client-side code is essentially identical.

    The jQuery plugin does make simple use cases much simpler. For complex use cases, it’s a bit more of a tossup. It provides a pub/sub mechanism, however, which is pretty flexible.

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

Sidebar

Related Questions

I am a little bit new to the PHP/MYSQL arena, and had an idea
I'm a little bit confused about how to approach this. I had never used
I'm having a little bit weird problem with my HTML. I never had this
I've messed with Access a little bit in the past, had one class on
I have the following code setup: http://jsfiddle.net/bABHU/2/ Had to change it a little bit
I am a little rusty with QT but I've had to use it for
I had a Invalid Cross Thread access issue, but a little research and I
I have a little problem. I had some JComboBox to a JDialog but they
I've been using prepared statements for a little while now and I've never had
I know little about sockets but so far I haven't had much of a

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.