RE: [PHP-WIN] Can PHP and Java work together?

From: Date: Fri, 31 Aug 2001 14:53:12 +0000
Subject: RE: [PHP-WIN] Can PHP and Java work together?
References: 1  Groups: php.general php.windows 
Request: Send a blank email to php-general+get-65483@lists.php.net to get a copy of this message
My apologies for the previous message not being complete (for some reason CTRL-V occasionally sends the message in Outlook!). Let's try this again. If you're talking about a form, then what you can do is set the properties for the button like so: <form name="formname" method="post" action="script.php"> <input type="submit" name="Submit" value="Submit" onClick="js_function('arguments')"> </form> This won't work if you're thinking of using JavaScript to validate the form before it gets sent to the server, but it's good if you want to submit the form and perform a JS action at the same time. Also, if you are considering using JavaScript to validate your form, you may want to reconsider doing it in PHP as JavaScript is easy to circumvent. -- Robin > -----Original Message----- > From: Robin Bolton [mailto:rbolton@lonepinepublishing.com] > Sent: August 31, 2001 8:49 AM > To: Jack; php-general@lists.php.net; php-windows@lists.php.net > Subject: RE: [PHP-WIN] Can PHP and Java work together? > > > If you're talking about a form, then what you can do is set the > properties for the button like so: > > > > -----Original Message----- > > From: Jack [mailto:jack@nedcor.com] > > Sent: August 31, 2001 2:13 AM > > To: php-general@lists.php.net; php-windows@lists.php.net > > Subject: [PHP-WIN] Can PHP and Java work together? > > > > > > Dear all > > I want to ask if i want to perform two task after the user had click a > > button, > > 1 is the task perform by PHP > > 2 is the task perform by JavaScript > > is it possible to do so? > > > > I'm actually fresh on JavaScript, before i would call the > JavaScript, what > > should i do first or what should i set before though? > > > > Thx > > Jack > > jack@nedcor.com > > > > > > > > -- > > PHP Windows Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > > For additional commands, e-mail: php-windows-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > >

« previous php.general (#65483) next »