eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.wwwnie wyświetlasię value z <input>aRe: nie wyświetlasię value z <input>a
  • Data: 2009-06-13 19:00:24
    Temat: Re: nie wyświetlasię value z <input>a
    Od: "Gabriel" <z...@p...fm> szukaj wiadomości tego autora
    [ pokaż wszystkie nagłówki ]


    Użytkownik <j...@p...onet.pl> napisał w wiadomości
    news:6069.00000b74.4a33a9d4@newsgate.onet.pl...
    > Przeczytałem, ale przecież ja mam </sup> w stringu, to nie można w
    <script>?

    Pozwolisz ze wkleje w takim razie bezposrednio ze strony:

    Writing HTML in a SCRIPT Element
    A common error (and the most common source of erroneous bug reports for the
    WDG HTML Validator) occurs when writing HTML tags within a SCRIPT element:

    <script type="text/javascript">
    <!--
    // This is an error!
    document.write("</P>");
    // -->
    </script>As mentioned in the HTML 4 Recommendation's note about specifying
    non-HTML data in element content, end tags are recognized within SCRIPT
    elements, but other kinds of markup--such as start tags and comments--are
    not. This is an unintuitive quirk of SGML for elements defined to have CDATA
    content.

    Authors should avoid using strings such as "</P>" in their embedded scripts.
    In JavaScript, authors may use a backslash to prevent the string from being
    parsed as markup:

    <script type="text/javascript">
    <!--
    document.write("<\/P>");
    // -->
    </script>Note that in XHTML, authors must also take care when using start
    tags within a script element. For details, see the Script and Style elements
    section of the XHTML 1.0 Recommendation as well as the HTML compatibility
    guideline for embedded scripts.


    Juz jasniejsze?:)

    > > e) byki ewidentne pomijam milczeniem (np. <opt</select>)
    > Tego nie rozumiem, bo nie widzę w moimu dokumencie takiego napisu:
    > <opt</select>

    Przeczytaj jeszcze raz co napisalem ja, ethanak i validator :) Znajdziesz.
    Zapewniam ze jest.



    --
    Pozdrawiam
    Gabriel Zastawnik
    http://www.monitoringkomputera.pl - Monitoring Komputera

Podziel się

Poleć ten post znajomemu poleć

Wydrukuj ten post drukuj


Następne wpisy z tego wątku

Najnowsze wątki z tej grupy


Najnowsze wątki

Szukaj w grupach

Eksperci egospodarka.pl

1 1 1

Wpisz nazwę miasta, dla którego chcesz znaleźć jednostkę ZUS.

Wzory dokumentów

Bezpłatne wzory dokumentów i formularzy.
Wyszukaj i pobierz za darmo: