CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 How prevent   added to javascript

Print topic Send  topic

Author Message
Andres Rormoser
Posted: 11/30/2005, 8:05 AM

I have the following javascript in my HTML page:

<!-- BEGIN Grid Articulo -->var articulo = new Array(
<!-- BEGIN Row -->new Array({vli_id},{art_id},{als_precio})<!-- END Row -->
<!-- BEGIN Separator -->,<!-- END Separator -->
);
<!-- END Grid Articulo -->

But everytime i made some changes on this pages CCS automatically add    to the
second line and causes error on my javascript. Anyone knows how to prevent his?


<!-- BEGIN Grid Articulo -->var articulo = new Array(
<!-- BEGIN Row -->new Array({vli_id},{art_id},{als_precio})  <!-- END Row -->
<!-- BEGIN Separator -->,<!-- END Separator -->
);
<!-- END Grid Articulo -->


Thanks in advance, Andres Rormoser.

Edd


Posts: 547
Posted: 11/30/2005, 3:01 PM

Andres .
Please republish question as the additional information did not appear.
Edd
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
Andres Rormoser
Posted: 12/01/2005, 10:07 AM

I have the following javascript in my HTML page:

<!-- BEGIN Grid Articulo -->var articulo = new Array(
<!-- BEGIN Row -->new Array({vli_id},{art_id},{als_precio})<!-- END Row -->
<!-- BEGIN Separator -->,<!-- END Separator -->
);
<!-- END Grid Articulo -->

But everytime i made some changes on this pages CCS automatically add    to the
second line and causes error on my javascript. Anyone knows how to prevent his?


<!-- BEGIN Grid Articulo -->var articulo = new Array(
<!-- BEGIN Row -->new Array({vli_id},{art_id},{als_precio})  <!-- END Row -->
<!-- BEGIN Separator -->,<!-- END Separator -->
);
<!-- END Grid Articulo -->


Thanks in advance, Andres Rormoser.


"Edd" <Edd@forum.codecharge> wrote in messagenews:6438e2f30d20a6@news.codecharge.com...
Andres .
Please republish question as the additional information did not appear.
Edd
_________________
There are only 10 people in this world, those who understand Binary and those
that don't.

http://www.syntech.com.au
---------------------------------------
Sent from YesSoftware forum
http://forums.codecharge.com/

DonB
Posted: 12/03/2005, 5:54 AM

It's not clear what you are trying to do with this. But, why are you not
enclosing your js in <SCRIPT>...</SCRIPT> tags?

Having said that, I would use this:


--
DonB

http://www.gotodon.com/ccbth


"Andres Rormoser" <arormoser@yahoo.com.ar> wrote in message
news:dmne43$nfl$1@news.codecharge.com...
> I have the following javascript in my HTML page:
>
> <!-- BEGIN Grid Articulo -->var articulo = new Array(
> <!-- BEGIN Row -->new Array({vli_id},{art_id},{als_precio})<!-- END
Row -->
> <!-- BEGIN Separator -->,<!-- END Separator -->
> );
> <!-- END Grid Articulo -->
>
> But everytime i made some changes on this pages CCS automatically add
   to the
> second line and causes error on my javascript. Anyone knows how to prevent
his?
>
>
> <!-- BEGIN Grid Articulo -->var articulo = new Array(
> <!-- BEGIN Row -->new
Array({vli_id},{art_id},{als_precio})  <!-- END Row -->
> <!-- BEGIN Separator -->,<!-- END Separator -->
> );
> <!-- END Grid Articulo -->
>
>
> Thanks in advance, Andres Rormoser.
>
>
> "Edd" <Edd@forum.codecharge> wrote in message
news:6438e2f30d20a6@news.codecharge.com...
> Andres .
> Please republish question as the additional information did not appear.
> Edd
> _________________
> There are only 10 people in this world, those who understand Binary and
those
> that don't.
>
> http://www.syntech.com.au
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
>

DonB
Posted: 12/03/2005, 5:56 AM

Hmm, what key did I just press?

Try again

I would use this:

<!-- BEGIN Row -->new Array({vli_id},{art_id},{als_precio});//<!-- END
Row -->

which seems like it would cause the   to be ignored, unless it still
shows up before the "//"

--
DonB

http://www.gotodon.com/ccbth


"DonB" <~ccbth~@gotodon.com> wrote in message
news:dms837$vvq$1@news.codecharge.com...
> It's not clear what you are trying to do with this. But, why are you not
> enclosing your js in <SCRIPT>...</SCRIPT> tags?
>
> Having said that, I would use this:
>
>
> --
> DonB
>
> http://www.gotodon.com/ccbth
>
>
> "Andres Rormoser" <arormoser@yahoo.com.ar> wrote in message
>news:dmne43$nfl$1@news.codecharge.com...
> > I have the following javascript in my HTML page:
> >
> > <!-- BEGIN Grid Articulo -->var articulo = new Array(
> > <!-- BEGIN Row -->new Array({vli_id},{art_id},{als_precio})<!-- END
> Row -->
> > <!-- BEGIN Separator -->,<!-- END Separator -->
> > );
> > <!-- END Grid Articulo -->
> >
> > But everytime i made some changes on this pages CCS automatically add
>    to the
> > second line and causes error on my javascript. Anyone knows how to
prevent
> his?
> >
> >
> > <!-- BEGIN Grid Articulo -->var articulo = new Array(
> > <!-- BEGIN Row -->new
> Array({vli_id},{art_id},{als_precio})  <!-- END Row -->
> > <!-- BEGIN Separator -->,<!-- END Separator -->
> > );
> > <!-- END Grid Articulo -->
> >
> >
> > Thanks in advance, Andres Rormoser.
> >
> >
> > "Edd" <Edd@forum.codecharge> wrote in message
>news:6438e2f30d20a6@news.codecharge.com...
> > Andres .
> > Please republish question as the additional information did not appear.
> > Edd
> > _________________
> > There are only 10 people in this world, those who understand Binary and
> those
> > that don't.
> >
> > http://www.syntech.com.au
> > ---------------------------------------
> > Sent from YesSoftware forum
> > http://forums.codecharge.com/
> >
> >
>
>

Andres Rormoser
Posted: 12/09/2005, 1:52 AM

Don,
I can not use a ";" after the ")" because the record separators adds a comma for each
record. I tried putting only the "//" but CCS puts de   before the "//". If you see
the Two-Dependant Listboxes example in CCSExamplePack2 it occurs the same problem as in my
script. I think it's a CCS 3 Bug.

Thank anyway, Andres Rormoser.

"DonB" <~ccbth~@gotodon.com> wrote in messagenews:dms86b$a9$1@news.codecharge.com...
Hmm, what key did I just press?

Try again

I would use this:

<!-- BEGIN Row -->new Array({vli_id},{art_id},{als_precio});//<!-- END
Row -->

which seems like it would cause the   to be ignored, unless it still
shows up before the "//"

--
DonB

http://www.gotodon.com/ccbth


"DonB" <~ccbth~@gotodon.com> wrote in message
news:dms837$vvq$1@news.codecharge.com...
> It's not clear what you are trying to do with this. But, why are you not
> enclosing your js in <SCRIPT>...</SCRIPT> tags?
>
> Having said that, I would use this:
>
>
> --
> DonB
>
> http://www.gotodon.com/ccbth
>
>
> "Andres Rormoser" <arormoser@yahoo.com.ar> wrote in message
>news:dmne43$nfl$1@news.codecharge.com...
> > I have the following javascript in my HTML page:
> >
> > <!-- BEGIN Grid Articulo -->var articulo = new Array(
> > <!-- BEGIN Row -->new Array({vli_id},{art_id},{als_precio})<!-- END
> Row -->
> > <!-- BEGIN Separator -->,<!-- END Separator -->
> > );
> > <!-- END Grid Articulo -->
> >
> > But everytime i made some changes on this pages CCS automatically add
>    to the
> > second line and causes error on my javascript. Anyone knows how to
prevent
> his?
> >
> >
> > <!-- BEGIN Grid Articulo -->var articulo = new Array(
> > <!-- BEGIN Row -->new
> Array({vli_id},{art_id},{als_precio})  <!-- END Row -->
> > <!-- BEGIN Separator -->,<!-- END Separator -->
> > );
> > <!-- END Grid Articulo -->
> >
> >
> > Thanks in advance, Andres Rormoser.
> >
> >
> > "Edd" <Edd@forum.codecharge> wrote in message
>news:6438e2f30d20a6@news.codecharge.com...
> > Andres .
> > Please republish question as the additional information did not appear.
> > Edd
> > _________________
> > There are only 10 people in this world, those who understand Binary and
> those
> > that don't.
> >
> > http://www.syntech.com.au
> > ---------------------------------------
> > Sent from YesSoftware forum
> > http://forums.codecharge.com/
> >
> >
>
>


matheus

Posts: 386
Posted: 12/09/2005, 2:52 AM

I had the same problem. Contact support and reply me that could not prevent this cause CCS use HTML parser.

In CCS3 need use XHTML parser.

_________________
Matheus Trevizan

Dynamix Software Ltda.
Blumenau SC Brasil
www.dynamix.com.br
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.