PDA

View Full Version : Dynamic Ajax Content and page title



DrEdwiser
12-27-2010, 05:10 PM
1) Script Title: Dynamic Ajax Content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

3) Describe problem: I love this script and it is working well, One issue i have and i don't know if it is even possible

my link to the content area is this <a href="javascript:ajaxpage('somepage.php?cat=<?PHP echo $variable1; ?>&cid=<?PHP echo $variable2; ?>', 'contentarea');" title="<?PHP echo $variable3; ?>"><?PHP echo $variable1; ?></a>

all the variable pass to the div tag "contentarea" just fine, but i cannot use the variables in the main page: for example I want the page title to change (based of a database query and a variable in the link above) when the dynamic content changes. Doe that make sense?

Thanks in advance!