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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:37:31+00:00 2026-05-29T05:37:31+00:00

I need to make a very basic button, that when clicked sends a particular

  • 0

I need to make a very basic button, that when clicked sends a particular person an email letting them know that that particular page has a broken pdf embed.

In otherwords, the user view a page containing an embeded pdf. If the pdf is broken, they will click a button.
Someone will get an email saying like “page (insert full page url here) has a broken pdf embed”. I cannot use PHP because this is to be deployed on a non-php server.

Ok so if I use a mailto tag like this:

 <p><a href="javascript:void(window.open('mailto:test@example.com?subject=subject&body=body'))">click here</a></p>

How do I get the full url path into the body of the message?

  • 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-29T05:37:32+00:00Added an answer on May 29, 2026 at 5:37 am

    This is a way to get the URL and pass it to mailto

    <p><a href="javascript:void(window.open('mailto:test@example.com?subject=subject&body='+window.location.href+''))">click here</a></p>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need some suggestions for how to implement a very basic mechanism that logs
I need to make a very basic international webshop(2 different kind of products) Paying
I need to make sure that user can run only one instance of my
I have a very basic question and need help. I am trying to understand
I want to create a simple http proxy server that does some very basic
I realize that this is probably a very basic question, but I have spent
I've got a very basic object object model that is being serialized by the
I'm very new to Rails so here goes: I know how to make a
I'm developing an ios app that's very basic and uses objective almost all of
I have a crystal report file I need make a tiny edit in. It

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.