> Ok Mike Thanks, here is the example of the code, with the issue in tact.
>
> http://www.sixfive.co.uk/jq1/
>
> The XLS button is the key on this page - clearly there is no styling.
>
> The objective is to make the user is able to hit enter on the form, and have
> the 'Display Button' run the search form, NOT have the XLS button push the
> form through.
>
> Any help would be great!
>
>
>
> On Tue, Aug 26, 2008 at 9:29 PM, Mike Alsup <[EMAIL PROTECTED]> wrote:
>
> > > Using sDumper( $(this).parents('form') ); to dump the result visually
>
> > > I can see that length = 0, and there is only one parent object - tagName
> > =
> > > 'IMG'
>
> > > So to me at least it doesnt look like its doing what it should?
>
> > > Any further help would be great - thanks!
>
> > I think you need to post a link to a sample page.  An IMG tag can
> > never be a parent node so something odd is happening there.


Your HTML is invalid.  You can't put a form tag between a TABLE and TR
tag like that.  Try moving the form outside of the table entirely.
Using Firebug it is easy to see that the form element has no children
at all.

Mike

Reply via email to