On 01/10/06, Rik Lomas <[EMAIL PROTECTED]> wrote:
> Thanks Jorn,
>
> My next priority is to get this working fully with tableSorter - it
> does work generally except for table striping.
>
> I've tried to make the plug-in as unobtrusive as possible, I felt that
> hiding the form when JS is turned off is a thing that the plug-in
> shouldn't do - the developer should really know to do this anyway. And
> yeah, I've tried to stick to the authoring plug-in page as much as
> possible, the original code was a mess but now it's nice and neat!
>
> Rik

You don't really need to hide the form if javascript is turned off.
Just add a button for submitting the form and do the search server
side. You could also have a placeholder and add the form to the page
through jQuery:

$("#placeholder").append('<form action="">'
    + '<label for="quicksearch">Quick Search</label>'
    + ' <input type="text" id="quicksearch" />'
    + '<input type="button" id="clearbutton" value="Clear" />'
    + '<img src="loader.gif" alt="Loading..." id="loader" />'
+ '</form>');
$('#placeholder input#quicksearch').quicksearch(....

Saying that though, I think it is important to take graceful
degradation into account.

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to