logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • zomek
    • Posted on Wed 28 Apr 2004 08:15

    I'm not sure if using exactly setAttribute() method in the example above, got any explanation, but why not use much more cleaner form:

    lnk.href = 'all/' + unid + '?OpenDocument';

    lnk.target = '_blank';

    /* ... */

    div.id = unid;

    All of these atributes are available as a properties.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: