@Jeremy: oops! Sorry, hadn't realised it had its own list. Next time... :-)
@Julien: Aha. I understand. Many thanks, I will try it now.
Peter
On Mon, Oct 18, 2010 at 4:54 PM, julien roche AKA indiana_jules <
roche@gmail.com> wrote:
> Or
>
> return new JsQuery().$(".check-login").chain("attr
Or
return new JsQuery().$(".check-login").chain("attr", "'href'", "'#'");
Julien Roche
On Mon, Oct 18, 2010 at 5:53 PM, julien roche AKA indiana_jules <
roche@gmail.com> wrote:
> Hi Peter,
>
> The "right" way for your case will be:
>
> add(new WiqueryAbstractBehavior() {
>public JsStat
Hi Peter,
The "right" way for your case will be:
add(new WiqueryAbstractBehavior() {
public JsStatement statement() {
return new JsStatement ().$(null, ".check-login").chain("attr",
"'href'", "'#'");
}
});
In the standard process, we will never have an empty component when the
render
On Mon, Oct 18, 2010 at 10:02 AM, Peter Munro wrote:
> Hi,
>
> I'd like to set up a JQuery script in my page header to change the
> attributes of all links with a specified class, so in my Java code I tried
> this:
>
>JsQuery linkQuery = new JsQuery();
>linkQuery.$(".check-login")