Re: send parameter php with javasript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> hii...
>
>   i have problem about to send parameter...
>   i wanna send parameter from php to other php with javascript
>
>   the function i like to using like document.location.href
>
>   <script>document.location.href='index.php?var=1&status=2'</scripts>
>   i want to do like that.but this function is not valid.
>

there is no location property on document object...

You must do a
<script>
top.location='index.php?var=1&status=2'
</script>


-- 
José Miguel Santibáñez
    jms@xxxxxxxxx


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

PHP Data object relational mapping generator
http://www.metastorage.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux