HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 8th, 2004, 04:49 PM
Prayer Prayer is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: eastern PA
Posts: 8 Prayer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Prayer
Question instant execu of href, how to...

I am jumping in deepend with my first php project. I am seeking for
a way to have echo('<a href=welcome.php target="right" . . >'); to execute right away
rather than wait for the mouse click. [The mouse already clicked on the logon button, I don't want user to click something AGAIN!]

Reply With Quote
  #2  
Old June 14th, 2004, 08:08 AM
Prayer Prayer is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: eastern PA
Posts: 8 Prayer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to Prayer
I finally found out how to do it myself. It is by using <form> and the onclick=submit() funciton. Make up a search.php, it there is no right frame it opens a new window.
<pre>
<html>
<head>
</head>
<body>
<?php
if (isset($_POST['aid'])):
echo('value is here ' . $_POST['aid']);
else:
echo(' Choose your poisen! ');
endif; ?>
<!-- Begin processing the SELECT now. -->
<form method="post" ACTION="search.php" target="right">
<select name="aid" size="1" onchange="submit()" >
<option value='12'>Option one</option>
<option value='13'>Option two</option>
<option value='14'>Option three</option>
<option value='15'>Option four</option>
<option value='16'>Option five</option>
<option value='17'>Option six</option>
</select><br />
</form>
</body>
</html>
</pre>

I DID put in spaces for nice formatting twice,but this system ate it up.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > instant execu of href, how to...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway