Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

noob question

Status
Not open for further replies.

Zas

Programmer
Oct 4, 2002
211
US
what would be the entire coding for a simple redirect to a perl script, and than how could I close the window after the script is done? Happieness is like peeing your pants.
Everyone can see it, but only you can feel the warmth.
 
ok, i found out how to redirect, but i really need to know how to close.


Happieness is like peeing your pants.
Everyone can see it, but only you can feel the warmth.
 
I can just put the javascript at the bottom of the page. I need it to automaticly close. Happieness is like peeing your pants.
Everyone can see it, but only you can feel the warmth.
 
don't put the javascript at the bottom of the page. it belongs in the head for about 99% of your coding needs either in a function or on load run state.

the syntax for closing a window is
self.close() ---------------------------------------
{ str = "sleep is good for you. sleep gives you the energy you need to function";
ptr = /sleep/gi;Nstr = str.replace(ptr,"coffee");alert(Nstr); }
---------------------------------------
for the best results to your questions: FAQ333-2924

 
it works! thanks! Happieness is like peeing your pants.
Everyone can see it, but only you can feel the warmth.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top