Hello!
I need to create a form, with two submit buttons – the first for send private message, the second to preview the PM.
I have already created the form sending the PM, but now I’m creating the preview option. If I use the <form> tag in this way:
[code]<form name=”pm” id=”pm” target=”PM_preview” onsubmit=”javascript:window.open(‘pm_preview.html’,’PM_preview’,’height=250,resizable=yes,width=400′)” method=”post”>
… it always opens the same page, if I add the action parameter like action=”
I’m realy getting bored with this – I’m created to write in PHP, but sometimes I need to create some source in JS language.
Could anyone help me, to create a simple form (with out any fields), with one button sending the form – normal submit button, and the other one sending the form in popup window with other location?
I hope my English “is possible to understand ?”.