CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 [UNRESOLVED] Javascript Code On a PHP Page

Print topic Send  topic

Author Message
CodeChargeMVP

Posts: 473
Posted: 06/29/2010, 9:21 AM

Hello,

I justa wanna do somenthing simple,

introducing javascript code on php and "make it work" will give us an

powerful control over our software development,

so for example, we´ve got an create new user window,

and we want than after the execute insert (PHP), appears an alert javascript window

saying "the user has been successfully submitted" (JAVASCRIPT) ,

so I want to do somenthing like

<script language="javascript" type="text/javascript>

alert ("the user has been succesfully submitted");

</script>

and launch it from the afterexecuteinsert php code events.

To sum up, ¿does anybody struggle about it?

Because doing it that way gives an parse error.

Sugestions are welcome.

Thank you very much in advance.
_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message
datadoit
Posted: 06/29/2010, 9:53 AM

echo "<script language='javascript'>alert('the user has been
successfully submitted.')</script>";
CodeChargeMVP

Posts: 473
Posted: 06/30/2010, 4:53 AM

Hello Datadoit,

As i said, a way than "make it work",

Don´t get me wrong but i guess than you didn´t check than your code

works, you speak from the theory and theory doesn´t work out.

¿Does anybody know how makes this work?

Greets.

Quote datadoit:
echo "<script language='javascript'>alert('the user has been
successfully submitted.')</script>";


_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message
datadoit
Posted: 06/30/2010, 6:11 AM

You'll go much further in your career by not biting the hands that feed
you (or at least try).
CodeChargeMVP

Posts: 473
Posted: 07/04/2010, 6:10 AM

I´m sorry,

I had a lot of pressure at project recently.

Quote datadoit:
You'll go much further in your career by not biting the hands that feed
you (or at least try).


_________________
Best Regards
Entrepeneur | NT Consultant
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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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