Announcement

Collapse
No announcement yet.

Any fix for compiler error generated by javascript?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Any fix for compiler error generated by javascript?



    Hello,

    I am getting

    CE102: Found '.' when looking for attributes.

    when compiling a page containing javascript. It is the javascript that is
    generating the error, if the error message is to be believed. Is there a
    way to shield the js so it can be used on the page?

    Any comments welcome....

    Thanks
    rg




    Ralph Gauer
    [email protected]
    www.ralphgauer.com
    505-534-4184
    Silver City, New Mexico




    #2
    Any fix for compiler error generated by javascript?



    Yes, there is. But you need to give us a bit more of your code...

    One way is to replace the offending character by the corresponding
    asciivalue. A simple escape (') doesn't always work.

    Markus

    -----Original Message-----
    From: [email protected] [mailto:[email protected]] On Behalf
    Of Ralph Gauer
    Sent: Thursday, January 06, 2005 1:34 PM
    To: [email protected]
    Subject: [meu] Any fix for compiler error generated by javascript?

    Hello,

    I am getting

    CE102: Found '.' when looking for attributes.

    when compiling a page containing javascript. It is the javascript that is
    generating the error, if the error message is to be believed. Is there a way
    to shield the js so it can be used on the page?

    Any comments welcome....

    Thanks
    rg




    Ralph Gauer
    [email protected]
    www.ralphgauer.com
    505-534-4184
    Silver City, New Mexico



    Comment


      #3
      Any fix for compiler error generated by javascript?



      Sounds more like a syntax error...how is the Javascript expressed? In "text" or evaluated
      through an expression?


      -Bruce
      ......................................
      PHOSPHOR Media
      Featuring: StoreMan - A smarter way to manage Miva Merchant(tm) Store Content.
      Download a hassle-free demo today
      <A HREF ="http://www.phosphormedia.com/go.mv?ID=listsm">http://www.phosphormedia.com/go.mv?ID=listsm</A>
      ......................................




      > -----Original Message-----
      > From: [email protected] [mailto:[email protected]]On
      > Behalf Of Ralph Gauer
      > Sent: Thursday, January 06, 2005 10:34 AM
      > To: [email protected]
      > Subject: [meu] Any fix for compiler error generated by javascript?
      >
      >
      > Hello,
      >
      > I am getting
      >
      > CE102: Found '.' when looking for attributes.
      >
      > when compiling a page containing javascript. It is the javascript that is
      > generating the error, if the error message is to be believed. Is there a
      > way to shield the js so it can be used on the page?
      >
      > Any comments welcome....
      >
      > Thanks
      > rg
      >
      >
      >
      >
      > Ralph Gauer
      > [email protected]
      > www.ralphgauer.com
      > 505-534-4184
      > Silver City, New Mexico
      >
      >
      >

      Comment


        #4
        Any fix for compiler error generated by javascript?



        I've never had problems compiling javascript. Are you sure you "built"
        it right? Want to post the string(s) you are using so we can see if
        there are syntax errors?

        Scot

        Ralph Gauer wrote:
        > Hello,
        >
        > I am getting
        >
        > CE102: Found '.' when looking for attributes.
        >
        > when compiling a page containing javascript. It is the javascript that
        > is generating the error, if the error message is to be believed. Is
        > there a way to shield the js so it can be used on the page?
        >
        > Any comments welcome....
        >
        > Thanks
        > rg
        >
        >
        >
        >
        > Ralph Gauer
        > [email protected]
        > www.ralphgauer.com
        > 505-534-4184
        > Silver City, New Mexico
        >
        >
        >

        Comment


          #5
          Any fix for compiler error generated by javascript?



          Hi Ralph,

          I had the same problem once. I discovered with the help of someone on the
          forum that some syntax are not well parsed by the compiler and generate some
          errors. A simplier way to do is to use " <-- //--> " for the javascript.
          That way your compiler will not parse the script. If you really need to
          parse the javascript (like generating some javascript lines with miva) you
          will need to post the code...

          Best regards,
          Claudiu Bischoff

          -----Original Message-----
          From: [email protected] [mailto:[email protected]]On
          Behalf Of Ralph Gauer
          Sent: jeudi 6 janvier 2005 19:34
          To: [email protected]
          Subject: [meu] Any fix for compiler error generated by javascript?


          Hello,

          I am getting

          CE102: Found '.' when looking for attributes.

          when compiling a page containing javascript. It is the javascript that is
          generating the error, if the error message is to be believed. Is there a
          way to shield the js so it can be used on the page?

          Any comments welcome....

          Thanks
          rg




          Ralph Gauer
          [email protected]
          www.ralphgauer.com
          505-534-4184
          Silver City, New Mexico



          Comment


            #6
            Oops. WAS: Any fix for compiler error generated by



            Gents,

            Why hide my stupidity? .... St some point I chopped off the leading

            ><script LANGUAGE="JavaScript">
            ><!--

            So, um, never mind....

            Thanks
            rg








            At 01:46 PM 1/6/2005 -0500, MvMarkus wrote:
            >Yes, there is. But you need to give us a bit more of your code...
            >
            >One way is to replace the offending character by the corresponding
            >asciivalue. A simple escape (') doesn't always work.
            >
            >Markus
            >
            >-----Original Message-----
            >From: [email protected] [mailto:[email protected]] On Behalf
            >Of Ralph Gauer
            >Sent: Thursday, January 06, 2005 1:34 PM
            >To: [email protected]
            >Subject: [meu] Any fix for compiler error generated by javascript?
            >
            >Hello,
            >
            >I am getting
            >
            >CE102: Found '.' when looking for attributes.
            >
            >when compiling a page containing javascript. It is the javascript that is
            >generating the error, if the error message is to be believed. Is there a way
            >to shield the js so it can be used on the page?
            >
            >Any comments welcome....
            >
            >Thanks
            >rg
            >
            >
            >
            >
            >Ralph Gauer
            >[email protected]
            >www.ralphgauer.com
            >505-534-4184
            >Silver City, New Mexico
            >
            >
            >

            Comment

            Working...
            X