Jump to content

passing a genereted ol to a mailer form in a hidden field


pquery

Recommended Posts

I have a function which makes an <ol> based on users selections. The function displays once on the page fine.

 

I want the option to mail out the results and I'm trying to hide the second instance of the ul by calling the function a second time in either a hidden field, a text field or a text area (either of the second two enclosed by a hidden div). I've tried all three and can't seem to get any of them to work.

 

<div id="profile">
  
  
    <?php profiler(); ?>

</div>

   <form action="craigmail.php" method="POST">  
  <input type="text" name="craigprofile" value="<?php profileTxt(); ?>">
  
</div>  
<p>would you like to send this as a response to a craig's list personal?</p>
   
  <input type="submit" value="Click Here" class="buttonSubmit" /> 
    </form>	  

 

here's the current piece of code that i'm using, but what seems to be happening is it hits the first closing bracket ">" in the code and then makes the rest of the list as normal

 

anyone have any suggestions on how I can pass this through to my mailer page?

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.