User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 397,715 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,523 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting

embedding java script in php

Join Date: Jan 2005
Posts: 20
Reputation: scoobie is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
scoobie scoobie is offline Offline
Newbie Poster

Re: embedding java script in php

  #4  
Jan 25th, 2005
Hi,

i got it to work. i used the following code:

echo "<script type='text/javascript'>\n";
echo "alert('Congrats');\n";
echo "</script>";

the problem i have now is that it presents a blank white screen, how can i get it to go back to the screen so that they can reenter the info after they click ok on the alert msg box

scoobie
Reply With Quote  
All times are GMT -4. The time now is 2:04 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC