I need to get rid of formatting but keep the onload function. The following seems to work, however I would like to know of a way to put the onload command on it's own line.
sub forgotten_password {print header ( -onload => "document.loginform.email.focus();" );
What do you mean by "put the onload command on its own line"? Can you give a (pseudo) code example of what you want?
Neo
ASKER
Wilcoxon: If I want to remove the print header; line, I want to know how to keep -onload => "document.loginform.email.focus();" in the script. Is it possible to place -onload => "document.loginform.email.focus();" on a line, on it's own, or does it have to be preceded by something?
I would like to get rid of start_html( -title => $title, -style => { 'src' => "$web_path$style" } ) and start_html( -title => $title, -style => { 'src' => "$web_path$style" }