Closed Thread Icon

Topic awaiting preservation: Exporting Variables? Pages that link to <a href="https://ozoneasylum.com/backlink?for=11968" title="Pages that link to Topic awaiting preservation: Exporting Variables?" rel="nofollow" >Topic awaiting preservation: Exporting Variables?\

 
Author Thread
Chin Yaw
Obsessive-Compulsive (I) Inmate

From: Malaysia
Insane since: Dec 2001

posted posted 12-27-2001 09:57

Using javascript, how can I:

<script language=javascript>
function example(var1)
{
[assign value of javascript variable:"var1" to php variable:"$var"]
}
</script>

without refreshing the page or redirecting?



mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 12-27-2001 10:39

You can't do it without refreshing (that's how all server side languages work)...


bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 12-28-2001 22:57

classic server-side vs client-side question actually.

We need a FAQ for this one.

Just an aside there is that XMLHTTP (the whole quek chat thing) method in IE 5.5+ that allows you to do this but it's totally browser dependant



:[ Computers let you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila. ]:

« BackwardsOnwards »

Show Forum Drop Down Menu