is Sequential Execution possible for 2 javascripts...

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
saurabh208
Forum Newbie
Posts: 4
Joined: Tue Feb 09, 2010 11:43 am

is Sequential Execution possible for 2 javascripts...

Post by saurabh208 »

hello frnds,
i got 2 scripting web pages .... 1 is auto log in and other is auto sms send...

i want that first the 1.html is excuted and after that 2.html will automaticlly executed....

is it possible??
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

Re: is Sequential Execution possible for 2 javascripts...

Post by AbraCadaver »

Not sure if it would work with your login system, but display 1.html and it logs in, then window.location = "http://www.example.com/2.html"; and let it do the SMS send or whatever.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Kurby
Forum Commoner
Posts: 63
Joined: Tue Feb 23, 2010 10:51 am

Re: is Sequential Execution possible for 2 javascripts...

Post by Kurby »

Doesn't make a whole lot of sense. If you have 2 different routines just call them sequentially from the same page. No point in transferring from one page to another because the user will never see the first page (unless your javascript is delayed or takes a really long time).
Post Reply