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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:40:43+00:00 2026-06-03T16:40:43+00:00

How is this possibly not ethical? The client wants an online interface to view

  • 0

How is this possibly not ethical? The client wants an online interface to view email proposals and can then click “accept” or “reject” will will send a static email to that person, telling them if their proposal has been accepted or not.

I’m trying to scrape an email address from the content on a page, assign that email address to a value, and then send an email via PHP with that address.

Except, the following’s not working.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js"></script>
<script>
$(document).ready(function() {
    var from_address = $('.rcmContactAddress').attr('href');
    from_address = from_address.substring(7);
    $('#to').value(from_address);
});
</script>
<input type="text" id="to" value=""></input>

The page (built with a Roundcube backend) will display the email message, with a button for accept or reject. Part of the page content looks like this:

<td class="header from">
    <span>
        <a href="mailto:emailaddress" onclick="return rcmail.command('compose','emailaddress',this)" title="emailaddress" class="rcmContactAddress">Contact Name</a>
    </span>
</td>
  • 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-03T16:40:45+00:00Added an answer on June 3, 2026 at 4:40 pm

    It might be only one error and there are more but:

    $('#to').value(from_address);
    

    Should be:

    $('#to').val(from_address);
    

    If you can show us how the anchor looks like we might help you even more.

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

Sidebar

Related Questions

Ok so this is driving me mad. how can this code possibly not work?
I'm wondering if there's a solution to this: (possibly not, but you never know!)
This problem exists for webkit browsers only chrome and possibly safari (i've not tested
I'm not sure this is possible, but in ruby, you can dynamically call a
How can this Possibly return non-nil on iPhone 3.1.3 (3g iPhone)? - (BOOL) isIOS3_2OrAbove
Update: This has been answered. It was my own stupidity, possibly not worth reading
Might not be a JSF issue but JSF experts would know this possibly more
I'm not sure if this is possible or not. Basically, I'm writing a script
How is this possible that the str_replace() function below returns biWeekly and not Every
I need to generate Entities/Object from selected tables - not all. Is this possible

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.