Jump to content

Recommended Posts

Another thing is that i don't know how to call a javascript function from my php code :

 

<?php

 

foreach($_GET as $var => $value)

{

$out.= $var . '=' . $value . "&";

}

 

$out = substr_replace($out,"",-1);

$out = str_replace("(","[",$out);

$out = str_replace(")","]",$out);

$out = $out . "&submit1=1&first=1&p=advsearch";

 

echo $out;

 

here i want to call a javascript that i have included from another file in order to pass $out to window.opener.

 

?>

 

Thank you.

Hi

first sorry for any spelling mistake English isnt my first language

im not sure what u need in the first question : but maybe ur anser is involve with simple jquery ,but if you give the div different ID's, so when user click A fadein ID 1 if user click b so fadein div B , of course in  thier css  they should be hidden from first, and the position will be in the css also .

about second quasion i guess you mean  :        echo ' <script> .........</script>' ;  the echo will excute the script you wrote inside .

 

i hope it helps .

 

Avi ,.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.