• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open popup by a form's submit button?

#1
[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


Messages In This Thread
Open popup by a form's submit button? - by El Forum - 02-03-2009, 08:14 AM
Open popup by a form's submit button? - by El Forum - 02-03-2009, 09:41 AM
Open popup by a form's submit button? - by El Forum - 02-03-2009, 09:41 AM
Open popup by a form's submit button? - by El Forum - 02-05-2009, 04:16 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.