Ask a Question related to PHP Development, Design and Development.
-
Hi Ho #1
Re: Calling functions between frames...
JavaScript can not run on server side. You can include it in the output of
your PHP script.
"Albert Finchly" <Albert_Finchly@Yahoo.co.uk> wrote in message
news:c0bdsm$15lcfp$1@ID-186257.news.uni-berlin.de...> I know it's not so difficult to call a JavaScript function that exists in
> another frame, but is it possible to do the same server-side in PHP?
>
>
Hi Ho Guest
-
Calling other functions
All, Using .NET 1.1, I have built a custom control, however I am having trouble compiling it. For the on click event of the button, I want it to... -
calling javascript dom functions from a flash objectwith frames
Calling dom javascript functions from a flash object works properly in a regular web page. When this page is a part of a frameset on another... -
Calling Javascript Functions
Hi, I've done a function to populate a drop down list, but I cant seem to call it properly. ================== This is in the head of the... -
Calling functions?
Hello, I wrote a jscript function within the HTML window of my webpage and would like to call it from inside the ASPX code-behind page. Any... -
calling functions
how do i call a vbscript function (which is between <%%>) from a vbscript script function (which is between script tags-<script... -
Savut #2
Re: Calling functions between frames...
This question is not logic, maybe try to ask using some exemple. You can use
any function you created before on any php, you just need to include() it.
It that what you need.
Savut
"Albert Finchly" <Albert_Finchly@Yahoo.co.uk> wrote in message
news:c0bdsm$15lcfp$1@ID-186257.news.uni-berlin.de...> I know it's not so difficult to call a JavaScript function that exists in
> another frame, but is it possible to do the same server-side in PHP?
>
>Savut Guest
-
Albert Finchly #3
Calling functions between frames...
I know it's not so difficult to call a JavaScript function that exists in
another frame, but is it possible to do the same server-side in PHP?
Albert Finchly Guest
-
thunder #4
Re: Calling functions between frames...
"Albert Finchly" <Albert_Finchly@Yahoo.co.uk> wrote in message
news:c0bdsm$15lcfp$1@ID-186257.news.uni-berlin.de...You can use the following javascript in one frame to call a php script in> I know it's not so difficult to call a JavaScript function that exists in
> another frame, but is it possible to do the same server-side in PHP?
another, should you wish to:
parent.targetframename.document.location.href="/path/to/script.php";
(If you using a frameset within a frameset, then you'll have to prepend
another "parent." to that to go up another level, if required)
If you're wanting to pass variables to the target script, you can add them
to the query string. eg
/path/to/script.php?myVar=somevalue
What script.php does with the variables is up to you. ;o)
If you're wanting to "POST" some variables to a php script on the server
through another frame, you can use the target="framename" attribute within
your form tag too, and not have to worry about twiddling about with
javascript at all.
Humbug! ;o)> JavaScript can not run on server side.
Well, ok, usually true from a PHP developer's perspective, but not true as a
generalised statement - JavaScript is used extensively server side these
days for working with java based objects and apps.
Cheers,
thunder
thunder Guest



Reply With Quote

