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 7056467
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:52:14+00:00 2026-05-28T03:52:14+00:00

I am still a bit new to dojo, javascript and HTML coding. I inherited

  • 0

I am still a bit new to dojo, javascript and HTML coding. I inherited ownership of an HTML page which is coded using dojo 1.4.2 (will be upgrading in the future) and javascript. Essentially the HTML page contains a form which is initially displayed to the user. After the user fills out the form and submits it, the form is replaced with generated content based on their answers.

This is done by using the answers in the form to reveal or hide various div elements that are already contained in the HTML file. So the form is hidden and some subset of other div elements are revealed.

We’d like this generated page to be savable by the user as a static HTML page. So essentially we want to save only the displayed divs to the file rather than the whole page. Currently, a save just saves a local copy which would require a user to re-submit the form on each view.

I was told this could be done by passing data to a service (possibly a JSP) which would handle this and pass back to the browser. However, I am not familiar with this and haven’t been able to find any examples. Is there a way to do this and does anybody have any examples or documentation that I could be pointed to?

Ideally, I’d like to insert a save button which saves the generated content being viewed in the browser without actually creating a static HTML that will stay on the server.

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-05-28T03:52:15+00:00Added an answer on May 28, 2026 at 3:52 am

    You could introduce a mechanism that makes changes to the page according to URL parameters (i.e. the contents of a parsed query string).

    I.e. given a URL containing a query portion (e.g. http://your.site.com/path/to/page?p1=true&p2=true) the Elements mapped to p1 or p2 would show; others would not.

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

Sidebar

Related Questions

Ok, im still a bit new to using nullable types. I'm writing a reflecting
A bit new to this whole web development thing still. This question will be
Still a bit new to Linq. This is driving me nuts. I want to
Still a bit new to the concept of M-V-VM in WPF, here's my problem:
Im a bit new to T-SQL, Coming from a MySQL background Im still adapting
I'm still a bit new on jquery selection syntax (and jquery in general). I'm
I'm still a bit new to directshow filters and am studying the base classes
I might be approaching this problem completely wrong, but I'm still a bit new
I'm a bit new to SSRS... I have an MVC3 application which I need
I am still a bit new to Windows programming and sometimes find the documentation

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.