Nevermind, I got it.

On Nov 18, 9:14 am, Shannon <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I am attempting to fetch a page via ajax when a person submits a form
> button.
>
> JAVASCRIPT:
> function sEngFam(str)
> {
>   $('#south').html('Loading data, please wait...').load("select3.php?
> q="+str);
>
> }
>
> HTML:
> <form name="form" method="get" action="">
>    <input type="text" name="q" value=""/><br />
>    <input type="button" onClick="sEngFam(this.form)" name="submit"
> value="submit"/>
> </form>
>
> When I click the button I see the "Loading data, please wait..." but
> the page then goes white. There is even static content from the
> select3.php page that isn't showing up.
>
> Any suggestions?

Reply via email to