Re: [jQuery] Display error if no INPUT radio is checked.

2007-01-17 Thread mohd khairi
$(function(){ $(#myForm).submit(function(){ var error=; $(#myTable tr td:nth-child(even)).each(function(){ if(!$(this).find([EMAIL PROTECTED]:checked).size()) error=error + $(this).prev(td).text() + br /; }); $(#error).html(error); return error==; });}); myTable is the

Re: [jQuery] jquery1.1 and modalContent problem

2007-01-15 Thread mohd khairi
Maybe change it to $('#modalContent') On 1/16/07, Ámon Tamás [EMAIL PROTECTED] wrote: Hello, I try to upgrade my little project from jquery 1.04 to jquery 1.1 . (naturally with jquery.compat-1.0). And with modalContent I get the following error: $(#modalContent).top is not a function (line