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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T06:41:35+00:00 2026-06-17T06:41:35+00:00

I am beginner of javascript and having a dummy question. I have a php

  • 0

I am beginner of javascript and having a dummy question. I have a php program with some javascript included. The webpage will be prepared in the server side with php and the included javascript will be run on the client side to format some pattern text with css. My question is I want to save the html source (after client javascript effective) on the server side, but since the source will only be changed when it is loaded in the client’s browser so the source I save is always the raw one. Is that any way to ask the server to run the client-javascript first so as to save the resulting source?

Thanks for your help 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-17T06:41:36+00:00Added an answer on June 17, 2026 at 6:41 am

    Nah, but you can use AJAX to send the information being generated client-side that you want to save back to the server. Using JQuery this is as simple as:

    $.post("PHPScriptThatWillSaveData.php", { newData: "DataHere" });
    

    For pure JS you can start with XMLHttpRequest.

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

Sidebar

Related Questions

I'm a beginner about javascript, and I have some doubts about the variables of
I'm a javascript beginner, and I'm having some trouble using jQuery's each method. I
Beginner rails/javascript question: Let's say that I have a simple Circle model in a
Question : Beginner Level Code: Pure Javascript I had created a web page in
I'm totally beginner in java. In javascript i have this regex: /[^0-9.,\-\ ]/gi How
Attempting a beginner's tutorial. I have the following in my head: <script type=text/javascript charset=utf-8
I am a COMPLETE beginner at JQuery (and javascript in general) but I'm having
I'm currently a beginner at JavaScript and predominantly code in Java. My Question is
First of all, forgive me for being a beginner to Javascript and PHP. Second:
Very beginner level question. Trying to learn JSON and having trouble with getting proper

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.