I am writing a mailing list app in PHP, the thing is I have a folder which will contain templates, is it possible to load the users template selection (say by clicking a radio button) into a textarea or iframe.
George
| SitePoint Sponsor |
I am writing a mailing list app in PHP, the thing is I have a folder which will contain templates, is it possible to load the users template selection (say by clicking a radio button) into a textarea or iframe.
George
Last edited by chiefmonkey; Sep 30, 2002 at 09:38.
I need to load the template into an Iframe, as I want the user to be able to see the template they have choosen. I know I could have a link that targets the iframe, but I want to use a radio button.Originally posted by beetle
Templates? HTML templates? If so, do you want the source to be displayed? Or rendered?
George


easy![]()
you can use a iframe. give it a id like id=myframe.
...then...
in the onclick event (or whenever you want it to happen) of your radio button you just do this...
hope that helpsCode:myframe.location.href = "template.htm"![]()
Spartan
---------------------
It's like our sergeant told us before one trip into the jungle. Men! Fifty of you are leaving on a mission. Twenty-five of you ain't coming back.
-Mr.Payne
Bookmarks