[eluser]Unknown[/eluser]
Hi,
I am wondering if it's possible to open a popup through a form's submit button. As far as I can see, CI does not offer an option to do that. Or am I simply overseeing things?
I would like to display search results in the manner of
Code:
echo form_open('welcome/search');
but in a popup, so I would like <form action="..."> to be something like window.open("..."). Or do I -somehow- have to use
Code:
echo form_submit('mysubmit', 'Submit Post!');
with its third parameter for JS? But then I cannot get the form action disabled/empty when I call form_open('');
Can anyone help?
Thanks,
Lupida