Jump to content

Please help populating text field


lingo5

Recommended Posts

Hi,

I have a form with an email address text field.

In the same page I have a list of email adresses INSIDE AN iFRAME.

I have done this in order to automatically populate the email field when an item from the list is clicked:

<td width="30%" align="left" nowrap="nowrap" class="AddressTXT"><a  style="cursor:pointer;" onclick="document.getElementById('txtTo').value='<?php echo $row_letters_RS['cliente_email']; ?>';"><?php echo $row_letters_RS['company_name']; ?></a>

		</td>

...but nothing happens. I guess this is because of the iFrame. Please help.

Thanks

Link to comment
https://forums.phpfreaks.com/topic/252934-please-help-populating-text-field/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.