FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Linking problem
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Linking problem [message #183707 is a reply to message #183705] Fri, 15 November 2013 18:10 Go to previous messageGo to previous message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma:
Senior Member
On 15-11-2013 17:58, richard wrote:
> http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
>
> as seen here, they have a link which produces something like:
> javascript:ajaxpage('page.html','showstuff')
> If I make it for a PHP page to show
> javascript:ajaxpage('page.php?item=1','showstuff')
>
> How do I properly retrieve the value of item?
>

This is not about PHP.....

This example on the page you gave:
<script type="text/javascript">
ajaxpage('test.htm', 'rightcolumn') //load "test.htm" into "rightcolumn" DIV
</script>

Should be clear. (HINT: read the comment )
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: detecting refresh versus initial page load.
Next Topic: what syntax errors will cause mismatching arrays?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Dec 12 20:50:40 GMT 2024

Total time taken to generate the page: 0.04461 seconds