|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
history.back prob
Hi guys,
i am trying to add this code into my php file.. but it doesn't show the back hyperlink when i run the file.. did i miss something ? //php code.. ?> <script language="JavaScript"> <a href="javascript:history.back()">Back</a> </script> <? //continue php code.. please advise |
|
#2
|
||||
|
||||
|
Because the code you want to print to the page is HTML, not Javascript. Remove the <script> tags and all will be well.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > history.back prob |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|