Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

issues with php and javascript

Status
Not open for further replies.

philipmatic

Programmer
May 18, 2003
17
JP
Hi all, I have this piece of code and it's killing me to solve it... So I was hoping someone may help me out here...

I have a page with 3 textareas, and each textarea has it's own button to popup a new window. All fine here... Now here is the problem...

ok when I click on the first popup button and click save within the child window, the parent page refreshes and content appears in the 1st textarea. This is all fine!! But when I try to click on the 2nd button to popup a new window and then save information from the 2nd child window to the main parent, it refreshes the parent window and the 2nd textarea is filled, but the 1st textarea content disappears!!! THIS IS THE PROBLEM!!!

Can anyone help me with the correct php code to make this puppy work as it is suppose to work... I have tried a few things but they were NO GOOD!!!

PLEASE I NEED HELP HERE!!!
 
happy to help.

can you post the code! difficult to diagnose without it ;->
 
Hi Jpadie...

Thanks for your help on this please find the code attached below:
**** parent window ****

<table>
<tr>
<td><input type="submit" value="Save">
<input type="button" value="Cancel" onclick="location.href='newsletters.php?uid=<?=$_SESSION['ugid']?>';" /></td>
</tr>
<tr>
<td><label>Issue Title</label></td>
<td><input type="text" name="title" value="" size="35" /></td>
</tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr><td><label>Article Heading 1</label></td>
<td><input type="text" name="heading_1" value="" size="35" /></td></tr>
<tr>
<td><label>Content 1</label></td>
<td><textarea cols="35" rows="5" name="content_1"><?php
$sValue1 = stripslashes($_POST['FCKeditor1']);
echo($sValue1);?></textarea>
<input type="button" name="editor_1" value="Editor" onclick="openwindow('editor.php?content=1','',600,300,'no');"
style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000; "/></td>
</tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr><td><label>Article Heading 2</label></td>
<td><input type="text" name="heading_2" value="" size="35" /></td></tr>
<tr><td><label>Content 2</label></td>
<td><textarea cols="35" rows="5" name="content_2"><?php
$sValue2 = stripslashes($_POST['FCKeditor2']);
echo($sValue2);?></textarea>
<input type="button" name="editor_2" value="Editor" onclick="openwindow('editor.php?content=2','',600,300,'no');"
style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000;" /></td></tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr><td><label>Article Heading 3</label></td>
<td><input type="text" name="heading_3" value="" size="35" /></td></tr>
<tr><td><label>Content 3</label></td>
<td style="text-align:left;"><textarea cols="35" rows="5" name="content_3"><?php $sValue3 = stripslashes($_POST['FCKeditor3']);
echo($sValue3);?></textarea>
<input type="button" name="editor_3" value="Editor" onclick="openwindow('editor.php?content=3','',600,300,'no');"
style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000;" /></td>
</tr>
<tr><td colspan="2">&nbsp;</td></tr>
</form>
</table>

***** child popup window *****

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>FCKeditor - Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="robots" content="noindex, nofollow">
<link href="../sample.css" rel="stylesheet" type="text/css" />
</head>
<body>
<hr>
<form action="addnewsletter.php?content=<?=$contentid;?>" method="post" target="content">
<?}
$sBasePath = $_SERVER['PHP_SELF'] ;
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "FCKeditor" ) ) ;
$oFCKeditor = new FCKeditor('FCKeditor' . $contentid) ;
$oFCKeditor->BasePath = '../FCKeditor/';//$sBasePath ;

$oFCKeditor->Value = '';
$oFCKeditor->Width = '100%' ;
$oFCKeditor->Height = '200' ;
$oFCKeditor->Create() ;

?>
<br>
<input type="submit" value="Submit" style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000; " />
<input type="button" value="Cancel" style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000; "
onclick="location.href='addnewsletter.php';window.close();" />
</form>
</body>
</html>

*********************

If you want a working example (that is see my delemma in action), please tell me and I will give you the url...
 
i'd suggest adding this to the top of the first file:
Code:
<?
session_start();
for ($i=1; $i<3;$i++):
	if (isset($_POST['FCKeditor{$i}'])):
		$_SESSION['FCKeditor{$i}'] = stripslashes(trim($_POST['FCKeditor{$i}']));
	endif;
	${FCKeditor.$i} = isset($_SESSION['FCKeditor{$i}']) ? $_SESSION['FCKeditor{$i}'] : "";
endfor;
?>
then reference each value like this
Code:
<?=$FCKeditor1?>
such that, for example,
Code:
<textarea cols="35" rows="5" name="content_1"><?php
$sValue1 = stripslashes($_POST['FCKeditor1']);
echo($sValue1);?></textarea>
becomes
Code:
<textarea cols="35" rows="5" name="content_1"><?=$FCKeditor1'?></textarea>

i'm unable to test this code (as i don't have the editor class) but it should be ok.
 
Thanks for that jpadie...!!!

I will give it a try tonite.. and get back to you on the outcome!!!

You are a legend!!!

Thanks heaps!!!
 
oops

change
Code:
for ($i=1; $i<3;$i++):
to
Code:
for ($i=1; $i<=3;$i++):

but i don't think that this is the way to go (i should have said this earlier). it seems more sensible to use some js to send the value of the child window to the parent. the guys in the js forum can help on this. if you're going to stay in php then i would not confuse the user with popups. just change the page. the session method i've posted keeps the state ok.
 
Hi Jpadie...

Kool.. Yeah I have asked for some help from the people in the Javascript forum... But I will give your stuff a try and see what happens, but you are probably right.. It does seem more sensible to use some js, but my js is crap to say the least, so I have asked for help in the js forum....
 
Hi Jpadie...

Looks like it was didn't work :(

But thanks for your help!!!!
 
Jpadie what do you think I am doing wrong...??

Do you want to see the page in action..???

Cheers
Phil
 
thanks

can you post the code of both pages please.
 
Hi Jpadie...

Here is the actual code for both files...

You have been a great help with this...!!!

I know I could do this better, but I want it to work first, then I can clean up the way I have done this... :)

****** PARENT ***********
<?php include_once '../_library/DbConn.php';?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "<html xmlns="<head>
<title>Site Administration Area</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<script language="javascript" type="text/javascript">
function openwindow(gotourl,name,w,h,scrollbars) {
window.open(gotourl,name,'width=' + w + ',height=' + h + ',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=' + scrollbars + ',resizable=no');
}
</script>
<?php
// connect to the database server
$connector = new DbConn();

if (isset($_POST['newsletter'])):
$ntitle = $_POST['newslettertitle'];

$aheading1 = $_POST['heading_1'];
$acontent1 = $_POST['content_1'];

$aheading2 = $_POST['heading_2'];
$acontent2 = $_POST['content_2'];

$aheading3 = $_POST['heading_3'];
$acontent3 = $_POST['content_3'];

$aheading4 = $_POST['heading_4'];
$acontent4 = $_POST['content_4'];

$aheading5 = $_POST['heading_5'];
$acontent5 = $_POST['content_5'];

// find templateid
$templateid = $_POST['templateid'];

// find subscribergroupid
$subscribergrpid = $_POST['subscribergroupid'];

// open article to insert contents

if ($aheading1 > ""){
$sql = $connector->query("INSERT INTO article SET
name = '" . htmlspecialchars($aheading1) . "',
story = '" . htmlspecialchars($acontent1) . "',
seq = 1");

if ($sql){
$article1 = mysql_insert_id();
$sqlxref = $connector->query("INSERT INTO articlexref SET
tableid = 1,
articleid = " . mysql_insert_id() . ",
recordid = " . $templateid);
}
}
if ($aheading2 > ""){
$sql = $connector->query("INSERT INTO article SET
name = '" . htmlspecialchars($aheading2) . "',
story = '" . htmlspecialchars($acontent2) . "',
seq = 2");
if ($sql){
$article2 = mysql_insert_id();
$sqlxref = $connector->query("INSERT INTO articlexref SET
tableid = 1,
articleid = " . mysql_insert_id() . ",
recordid = " . $templateid);
}
}
if ($aheading3 > ""){
$sql = $connector->query("INSERT INTO article SET
name = '" . htmlspecialchars($aheading3) . "',
story = '" . htmlspecialchars($acontent3) . "',
seq = 3");
if ($sql){
$article3 = mysql_insert_id();
$sqlxref = $connector->query("INSERT INTO articlexref SET
tableid = 1,
articleid = " . mysql_insert_id() . ",
recordid = " . $templateid);
}
}
if ($aheading4 > ""){
$sql = $connector->query("INSERT INTO article SET
name = '" . htmlspecialchars($aheading4) . "',
story = '" . htmlspecialchars($acontent4) . "',
seq = 4");
if ($sql){
$article4 = mysql_insert_id();
$sqlxref = $connector->query("INSERT INTO articlexref SET
tableid = 1,
articleid = " . mysql_insert_id() . ",
recordid = " . $templateid);
}
}
if ($aheading5 > ""){
$sql = $connector->query("INSERT INTO article SET
name = '" . htmlspecialchars($aheading5) . "',
story = '" . htmlspecialchars($acontent5) . "',
seq = 5");
if ($sql){
$article5 = mysql_insert_id();
$sqlxref = $connector->query("INSERT INTO articlexref SET
tableid = 1,
articleid = " . mysql_insert_id() . ",
recordid = " . $templateid);
}
}
// lookup templateid and pullout into a variable, then insert all the articles associated with that template.
// then save the template+articles into the newsletter table.
$tempsql = $connector->query("SELECT templatehtml
FROM subscribertemplate
WHERE templateid = " . $templateid);

$temphtml = $connector->fetchArray($tempsql);
$templatehtml = $temphtml['templatehtml'];

$articlearray = array($aheading1 . "<br/>" . $acontent1, $aheading2 . "<br/>" . $acontent2, $aheading3 . "<br/>" . $acontent3, $aheading4 . "<br/>" . $acontent4, $aheading5 . "<br/>" . $acontent5);
$zonearray = array("<zone1>","<zone2>","<zone3>","<zone4>","<zone5>");
$ntemplatehtml = str_replace($zonearray,$articlearray,$templatehtml);

$nsql = $connector->query("INSERT INTO newsletter SET
subscribergroupid = " . $subscribergrpid . ",
name = '" . $ntitle . "',
newsletterdate = CURDATE(),
htmlbody = '" . $ntemplatehtml . "',
sent = 0");

if ($nsql) {
$newsletterid = mysql_insert_id();
$nxref1 = $connector->query("INSERT INTO articlexref SET
tableid = 2,
articleid = " . $article1 . ",
recordid = " . $newsletterid);

$nxref2 = $connector->query("INSERT INTO articlexref SET
tableid = 2,
articleid = " . $article2 . ",
recordid = " . $newsletterid);

$nxref3 = $connector->query("INSERT INTO articlexref SET
tableid = 2,
articleid = " . $article3 . ",
recordid = " . $newsletterid);

$nxref4 = $connector->query("INSERT INTO articlexref SET
tableid = 2,
articleid = " . $article4 . ",
recordid = " . $newsletterid);

$nxref5 = $connector->query("INSERT INTO articlexref SET
tableid = 2,
articleid = " . $article5 . ",
recordid = " . $newsletterid);

echo("<script language='javascript'>window.location='newsletters.php?uid=" . $_SESSION['ugid'] . "'</script>");
}

// insert newsletter title
?>
<?php

else:
?>

<div style="padding-left:10px;color:#000000;font-size:14px;">Add Newsletter</div>
<div align="center">
<form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post" name="addnewsletter">
<input type="hidden" name="newsletter" value="yes" />
<?
$result = $connector->query("SELECT subscribertemplate.templateid, subscribertemplate.numofarticles, subscribertemplate.numofimages
, template.name, subscribergroup.subscribergroupid
FROM subscribertemplate, template, subscribergroup
WHERE subscribergroup.usergroupid = " . $_SESSION['ugid'] . "
AND subscribertemplate.templateid = template.templateid
AND subscribergroup.subscribergroupid = subscribertemplate.subscribergroupid");
$ii = 1;
while($template = $connector->fetchArray($result)) {
$tid = $template['templateid'];
$nofarticles = $template['numofarticles'];
$nofimages = $template['numofimages'];
$subid = $template['subscribergroupid'];
$tname = $template['name'];
if ($ii = 1){?>
<input type="hidden" name="templateid" value="<?=$tid?>"/>
<input type="hidden" name="subscribergroupid" value="<?=$subid?>"/>
<?} else { ?>
<label><?=$tname?></label><input type="radio" name="templatetype" value="<?=$tid?>" />
<input type="hidden" name="subscribergroupid" value="<?=$subid?>"/>
<?
}
$ii = $ii + 1;
}
?>
<table cellpadding="0" cellspacing="0" border="0" width="50%">
<tr>
<td style="text-align:right;" colspan="2"><input type="submit" value="Save Newsletter" style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000;" >
<input type="button" value="Cancel" style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000; "
onclick="location.href='newsletters.php?uid=<?=$_SESSION['ugid']?>';" /></td>
</tr>
<tr>
<td style="text-align:left;"><label>Issue Title</label></td>
<td style="text-align:left;"><input type="text" name="newslettertitle" value="" size="35" /></td>
</tr>

<tr><td colspan="2">&nbsp;</td></tr>
<tr>
<td style="vertical-align:top;text-align:left;"><label>Article Heading 1</label></td>
<td style="text-align:left;"><input type="text" name="heading_1" value="" size="35" /></td>
</tr>
<tr>
<td style="vertical-align:top;text-align:left;"><label>Content 1</label></td>
<td style="text-align:left;">
<textarea style="font-family:Verdana,Arial;font-size:10px;" cols="35" rows="5" name="content_1"><?php
$sValue1 = stripslashes($_POST['FCKeditor1']);
echo($sValue1);?></textarea>
<input type="button" name="editor_1" value="Editor" onclick="openwindow('editcontent.php?content=1','',600,300,'no');"
style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000; "/></td>
</tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr>
<td style="vertical-align:top;text-align:left;"><label>Article Heading 2</label></td>
<td style="text-align:left;"><input type="text" name="heading_2" value="" size="35" /></td>
</tr>
<tr>
<td style="vertical-align:top;text-align:left;"><label>Content 2</label></td>
<td style="text-align:left;">
<textarea style="font-family:Verdana,Arial;font-size:10px;" cols="35" rows="5" name="content_2"><?php
$sValue2 = stripslashes($_POST['FCKeditor2']);
echo($sValue2);?></textarea>
<input type="button" name="editor_2" value="Editor" onclick="openwindow('editcontent.php?content=2','',600,300,'no');"
style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000;" /></td>
</tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr>
<td style="vertical-align:top;text-align:left;"><label>Article Heading 3</label></td>
<td style="text-align:left;"><input type="text" name="heading_3" value="" size="35" /></td>
</tr>
<tr>
<td style="vertical-align:top;text-align:left;"><label>Content 3</label></td>
<td style="text-align:left;">
<textarea style="font-family:Verdana,Arial;font-size:10px;" cols="35" rows="5" name="content_3"><?php
$sValue3 = stripslashes($_POST['FCKeditor3']);
echo($sValue3);?></textarea>
<input type="button" name="editor_3" value="Editor" onclick="openwindow('editcontent.php?content=3','',600,300,'no');"
style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000;" /></td>
</tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr>
<td style="vertical-align:top;text-align:left;"><label>Article Heading 4</label></td>
<td style="text-align:left;"><input type="text" name="heading_4" value="" size="35" /></td>
</tr>
<tr>
<td style="vertical-align:top;text-align:left;"><label>Content 4</label></td>
<td style="text-align:left;">
<textarea style="font-family:Verdana,Arial;font-size:10px;" cols="35" rows="5" name="content_4"><?php
$sValue4 = stripslashes($_POST['FCKeditor4']);
echo($sValue4);?></textarea>
<input type="button" name="editor_4" value="Editor" onclick="openwindow('editcontent.php?content=4','',600,300,'no');"
style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000;" /></td>
</tr>
<tr><td colspan="2">&nbsp;</td></tr>
<tr>
<td style="vertical-align:top;text-align:left;"><label>Article Heading 5</label></td>
<td style="text-align:left;"><input type="text" name="heading_5" value="" size="35" /></td>
</tr>
<tr>
<td style="vertical-align:top;text-align:left;"><label>Content 5</label></td>
<td style="text-align:left;">
<textarea style="font-family:Verdana,Arial;font-size:10px;" cols="35" rows="5" name="content_5"><?php
$sValue5 = stripslashes($_POST['FCKeditor5']);
echo($sValue5);?></textarea>
<input type="button" name="editor_5" value="Editor" onclick="openwindow('editcontent.php?content=5','',600,300,'no');"
style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000;" /></td>
</tr>

<tr><td colspan="2">&nbsp;</td></tr>
<tr>
<td style="text-align:right;" colspan="2"><input type="submit" value="Save Newsletter" style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000;" />
<input type="button" value="Cancel" style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000; "
onclick="location.href='newsletters.php?uid=<?=$_SESSION['ugid']?>';" /></td>
</tr>
</form>
</table>
</div>
<?php endif; ?>
</body>
</html>



****** CHILD POPUP ******
<?php
include("../FCKeditor/fckeditor.php") ;
include_once '../_library/DbConn.php';


$contentid = $_GET['content'];
$articleid = $_GET['aid'];
$newsletterid = $_GET['nid'];
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>FCKeditor - Sample</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="robots" content="noindex, nofollow">
<link href="../sample.css" rel="stylesheet" type="text/css" />
</head>
<body>
<hr>
<? if ($articleid > 0) {?>
<form action="content.php?content=<?=$contentid;?>&id=<?=$newsletterid;?>&edit=yes" method="post" target="content">
<?} else {?>
<form action="content.php?content=<?=$contentid;?>" method="post" target="content">
<?}
$sBasePath = $_SERVER['PHP_SELF'] ;
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "FCKeditor" ) ) ;

$oFCKeditor = new FCKeditor('FCKeditor' . $contentid) ;
$oFCKeditor->BasePath = '../FCKeditor/';//$sBasePath ;

// connect to the database server
$connector = new DbConn();
$query = $connector->query("SELECT article.story
FROM article, newsletter, articlexref
WHERE newsletter.newsletterid = " . $newsletterid . "
AND article.articleid = " . $articleid . "
AND articlexref.articleid = article.articleid
AND articlexref.recordid = newsletter.newsletterid");

if ($query) {
$content = $connector->fetchArray($query);
$acontent = stripslashes($content['story']);
$oFCKeditor->Value = $acontent;
} else {
$oFCKeditor->Value = '';
}
$oFCKeditor->Width = '100%' ;
$oFCKeditor->Height = '200' ;
$oFCKeditor->Create() ;

?>
<br>
<input type="submit" value="Submit" style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000; " />
<? if ($articleid > 0) {?>
<input type="button" value="Cancel" style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000; "
onclick="location.href='content.php?id=<?=$newsletterid;?>';window.close();" />
<?} else {?>
<input type="button" value="Cancel" style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000; "
onclick="location.href='content.php';window.close();" />
<?}
?>
</form>
</body>
</html>
 
I might suggest using javascript and the innerHTML command to update your parent window text field
you would add this to the popup

---------------------
<script language='javascript'>

function updatetext(x){
submitted = document.getElementById('content_1').value;
theheader = 'editor_' + x;
window.parent.getElementById(theheader).innerHTML = submitted;
}

</script>
----------------------
then the
onclick="location.href='content.php';window.close();" />

becomes
onclick="updatetext('<? $contentid ?>');window.close();" />

this presumes that in your popup editor the text area field name would be called name="content_1" as suggested by jpadie (TechnicalUser)

example

<textarea cols="35" rows="5" name="content_1"><?php
$sValue1 = stripslashes($_POST['FCKeditor1']);
echo($sValue1);?></textarea>

what the function does is
gets the rekeyed information from your popup form

submitted = document.getElementById('content_1').value;

then it gets which header to replace

theheader = 'editor_' + x;

then it does the updating of the text in the parent window

window.parent.getElementById(theheader).innerHTML = submitted;

that will refresh the form value of the parent window without reloading the page

just a suggestion






 

Try this->
Add this to your main page, in the "content.php"
Code:
<script language="JavaScript"><!--
name = 'content';
//--></script>

and
change the highlighted in you editor "editcontent.php" to
Code:
<input type="submit" value="Submit" [b]target="content"[/b] style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000; " /> 
<input type="button" value="Cancel" style="font-family: Verdana; font-size: 8pt; color: #000000; background-color: #ffffff; border: 1px solid #000000; " [b]onclick="window.close();[/b]" />
tav

 
Jpadie, KarterJK and tav1035...

I want to say I will give your suggestions a go tonite and get back to you on what happens...

This is Very Much Appreciated All you ROCK!!!!
 
Hi KarterJK,

I tried out your method, but keep getting a javascript error stating "document.getElementById('content_1').value;" has no properties, when I try and click content_2 editor 2...

Thoughts..???
 
Hi KarterJk,

I think you may have got your wires crossed a little, the part you want to change happens in the popup editor, but it sounds like you want to change something in the parent window..??

That is - your quote:
then the
onclick="location.href='content.php';window.close();" />

becomes
onclick="updatetext('<? $contentid ?>');window.close();" />

this presumes that in your popup editor the text area field name would be called name="content_1" as suggested by jpadie (TechnicalUser)

example

<textarea cols="35" rows="5" name="content_1"><?php
$sValue1 = stripslashes($_POST['FCKeditor1']);
echo($sValue1);?></textarea>

but the part you mention just above is appearing within the parent window..

Could you please provide a little more information..

Cheers
Philip
 
Hi JPadie,

Have you had any luck with the full code that I have provided...??

Your help has been muchly appreciated!!!

CHeers

Philip
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top