Hello,
I am using the ColorBox (
http://colorpowered.com/colorbox/) modal on my site.
I have a form, which is in an inline DIV. That div is called with a link.
The code looks the following way:
Code:
$(".example8").colorbox({width:"50%", inline:true, href:"#inline_example1"});
AND
Code:
<p><a class='example99' href="#">Quote</a></p>
AND
Code:
<div style='display:none'>
<div id='inline_example1' style='padding:10px; background:#fff;'>
<form class="settings" method="post" name="forumF" action="addpost.php">
<label>Message:</label>
<textarea class="field" name="replyText" id="replyText" rows="10" cols="30" style="color:#000;"><?php echo $quote; ?></textarea>
<div class="buttons">
<input type="submit" value="POST" name="replyButton" class="submit">
</div>
</form>
</div>
</div>
So, as you can see the
"<?php echo $quote; ?>" inside the TEXTAREA tag. I wish, when users click the QUOTE button, the quotet post will appear in the textarea, using $_GET.