Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    IE8 - Select issue with &, < or > characters.

    Hi,

    We have an issue with &, < or > characters in Select values. To reproduce
    the problem, use the following steps (using the ISC feature explorer)

    DESCRIPTION:

    Select does not render correctly the selected item if the name ends with
    a &, < or > character in Internet Explorer (reproduced under IE8/win32). Works fine under Firefox.

    TO REPRODUCE:

    http://www.smartclient.com/index.jsp#selectItem

    1- In the source view, modify a country name to include an ampersand ('&') sign at the end (China& for example)
    2- Click the 'Try it' button
    3- In the drop-down list, the country shows up correctly with the '&' sign
    4- Pick the modified country (the one with the '&' sign)
    5- The selected item name does not include the '&' sign

    Any idea how this can fixed or worked around?

    Kind regards,

    #2
    Display values are interpreted as HTML, so use standard HTML quoting for special characters (&amp; &lt; &gt; and so forth).

    Comment


      #3
      You are right - I should have thought about that. Next time we'll dig a bit more before sending an issue.

      Thanks,

      Comment

      Working...
      X