×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Jun 2010
    Posts
    161

    mwl.setGroupTarget and Table

    Hi,

    I'm trying to highlight a table cell on click in a 5x5 table. I thought it should work with mwl.setGroupTarget but it seems that cells within other rows are not considered siblings?

    Am I right that it only takes #ID as imput, not .CLASS? If so, the # is a little but unnecessary, but I hope that future versions of mwl will support class selectors and the # was added for future compatibility.

    I'm starting to get warm with S40 Web Apps.

  2. #2
    Nokia Developer Moderator
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    833

    Re: mwl.setGroupTarget and Table

    Hi,

    You are correct in both cases. Cells are not considered as siblings. By calling setGroupTarget on a table it will operate on <tr> elements instead of <td> tags.

    I'll forward your comment to RnD team.

    Br,
    Ilkka

Similar Threads

  1. mwl.insertHTML in Nokia Web tools 1.2
    By suryasraj in forum Nokia Asha Web Apps
    Replies: 3
    Last Post: 2011-08-23, 11:00
  2. Append method in MWL?
    By manzar_alam12 in forum Nokia Asha Web Apps
    Replies: 1
    Last Post: 2011-06-16, 13:48
  3. Differences between simulator and device (mwl.switchClass)
    By oren.levine@nokia.com in forum Nokia Asha Web Apps
    Replies: 2
    Last Post: 2011-05-12, 13:29
  4. Using MWL outside of S40 WebApps
    By lorion84 in forum Nokia Asha Web Apps
    Replies: 2
    Last Post: 2011-05-09, 01:19
  5. MWL API reference documentation
    By smoogli in forum Nokia Asha Web Apps
    Replies: 1
    Last Post: 2011-05-03, 12:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •