tydende1
11-09-2011, 11:20 PM
This seems like a great thing to learn but I can't find a good tutorial or resource to accomplish what I'm trying to do.
I have this site that I'm working on
http://lucalune.com/wordpress/
If you click on Search Projects, it will bring up a drodown. If you select an option or two you can filter the projects (click Search). It is basically a search form and the form is targeting the iframe "results"
<form action="<?php bloginfo('template_url') ?>/build_search.php" method="post" target="results" accept-charset="utf-8">
It works great in firefox, but in ie you have to click the iframe for the results to show up. Why? I have no idea. But..... That made me think that having an ajax or jquery driven div display the results would be a better solution an something I want to learn.
If I were just directing a link to show content in the div, I could do it. But since I'm using the target="" code in a form, I can't figure out how to do it. Aaaarggghhh.
This must be common thing to do, right?
Does anyone know how to target a div using an html form?
Thanks!
I have this site that I'm working on
http://lucalune.com/wordpress/
If you click on Search Projects, it will bring up a drodown. If you select an option or two you can filter the projects (click Search). It is basically a search form and the form is targeting the iframe "results"
<form action="<?php bloginfo('template_url') ?>/build_search.php" method="post" target="results" accept-charset="utf-8">
It works great in firefox, but in ie you have to click the iframe for the results to show up. Why? I have no idea. But..... That made me think that having an ajax or jquery driven div display the results would be a better solution an something I want to learn.
If I were just directing a link to show content in the div, I could do it. But since I'm using the target="" code in a form, I can't figure out how to do it. Aaaarggghhh.
This must be common thing to do, right?
Does anyone know how to target a div using an html form?
Thanks!