T
Todd Cary
[The code is running in PHP]
Currently, I have a Link to show a PDF file
<? print('Click <a href="' . $url . $sfyc_race_schd_send . '" Name="Race
Schedule" Target="_blank">here</a> to open the Race Schedule'); ?>
I want to replace it with a button and an OnClick()
<?
print('<input type="button" name = "View Schedule" OnClick="">');
?>
I cannot get the syntax correct for the OnClick. Is this the best way
to use a button for the task?
Todd
Currently, I have a Link to show a PDF file
<? print('Click <a href="' . $url . $sfyc_race_schd_send . '" Name="Race
Schedule" Target="_blank">here</a> to open the Race Schedule'); ?>
I want to replace it with a button and an OnClick()
<?
print('<input type="button" name = "View Schedule" OnClick="">');
?>
I cannot get the syntax correct for the OnClick. Is this the best way
to use a button for the task?
Todd