PDA

View Full Version : JavaScript in form action



pjb007
05-30-2006, 02:55 PM
Is there anything wrong with this in a form action attribute.



<form action="javascript:ajaxpage('members/entering.php', 'mainarea');" ........... >


It almost works but not quite.

Twey
05-30-2006, 03:31 PM
You fail to understand javascript: pseudo-URLs.
It will execute the code and attempt to send the form data to the return value.