Go backwards in the code...

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
Sacapuss
Forum Commoner
Posts: 40
Joined: Mon May 16, 2005 9:46 pm
Location: Earth...

Go backwards in the code...

Post by Sacapuss »

Hi !

I'd like to know if it's possible to go backwards in the code.
I know

Code: Select all

\b
, but i don't understand how to have it work (i tried unsuccessfully with js and php).

Example :

Code: Select all

1234\b
could give

Code: Select all

123
.

Could anyone ligthen me, please ?

Thanx for your help !
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

User avatar
Sacapuss
Forum Commoner
Posts: 40
Joined: Mon May 16, 2005 9:46 pm
Location: Earth...

Post by Sacapuss »

Thank you, hawleyjr, for answering !

I have the file

Code: Select all

<?php
echo &quote;
<img 
src=\&quote;http://$logo_url\&quote; 
...
onclick=\&quote;window.open('$page_url')\&quote;
>
&quote;;
?>
i call each time i need this 'frame'.
One time, the onclick matter must be

Code: Select all

location='mailto...'
. That's why i wonder how to get rid of

Code: Select all

window.open('
.

Thanx for the help !
Post Reply