Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

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 Codewalkers Forums Sponsor:
  #1  
Old July 16th, 2003, 01:07 PM
zuzupus zuzupus is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 82 zuzupus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
alert problem

hi,

i got problem rgarding alert i created a select time field

<td nowrap align="center">
<select name="time" >
<option value="8:0">8:0</option>
<option value="9:0">9:0</option>
<option value="10:0">10:0</option>
<option value="11:0">11:0</option>
</select>
<input type="button" name="systime" size="1" value=">" onclick="insertTime();">// when clciking on this button it wil show system time
</td>
<td nowrap align="center">
<input type="button" value="Save " name="Save" border="1" onclick="go();">
</td>

when i clicks on save button it show alert that atleast slect time
the function
function go(){
var myindex=document.forms["tstest"].bis.selectedIndex;
if (myindex==0) {
alert("nPlease be sure that time menu is selected.");
return false;
document.forms["test"].bis.focus();
}
document.test.submit();
}//submit go()

but the problem is when i clcik on this button it show the system time and i jsut want to avoid this alert,i mean i dont want this alert when button 'systime' is clicked so how to avoid this complexity on the other hand i also dont want user to clcik save button without selecting time.

thanks in advance

Reply With Quote
  #2  
Old July 19th, 2003, 02:21 PM
jorgen jorgen is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Hardenberg, Holland<marquee>
Posts: 284 jorgen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: alert problem

What's the code for insertTime(); ?

Reply With Quote
  #3  
Old July 25th, 2003, 12:26 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: alert problem

Thread resolved because of inactivity of original poster.

If you still require help, please answer jorgen's question and move status back to unresolved.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > alert problem


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