groogruxking40 Posted August 14, 2009 Share Posted August 14, 2009 here is my code <input type="submit" class="button" onclick="window.open('http://wwww.christiancouriernewspaper.com/upload.html',Upload','width=400,height=400')" name="<?php echo $form_id; ?>" id="<?php echo $form_id; ?>" value="<?php echo $submit_text; ?>" alt="<?php echo $submit_text; ?>"<?php echo $x_or_h; ?>><br<?php echo $x_or_h; ?>> if you go to this page.. www dot christiancouriernewspaper dot com / blogbase / contactpage.php you will see the SUBMIT button, what I want is for when the user hits submit, it (a) sends the information to me (b) popups a window to upload a file for someone reason it's not working-- it's sending the emails just fine, but the popup doesn't show any/all help will be much appreciated thank you Link to comment https://forums.phpfreaks.com/topic/170287-having-problems-with-onclick/ Share on other sites More sharing options...
trq Posted August 14, 2009 Share Posted August 14, 2009 onClick is a client-side event, nothing at all to do with php which executes on the server. Link to comment https://forums.phpfreaks.com/topic/170287-having-problems-with-onclick/#findComment-898453 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.