LJohnny ha scritto:
What I want to do is have a text field and a search button and then
get the results in a pop-up window just like the ones at
http://malsup.com/jquery/block/#demos
Like, users type in their query and then push submit, then the sub-
window opens and results are shown there.
I'm not sure if this has been done before or not, but I've been told
jQuery is capable of handling this.
Thanks very much in advance.
The blockui plugin generates from a div.
If you want to show the results in a modal window the first thing you
have to do is to submit the form via ajax.
You can do this with the great form plugin from Mike Alsup
(http://malsup.com/jquery/form/) then in the success function you have
to populate an hidden div with the results, and after populating you can
launch the blockui function on the div.
Hope this helps :-)
bye
--
gianiaz.net - web solutions
p.le bertacchi 66, 23100 sondrio (so) - italy
+39 347 7196482