Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Databases
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 25th, 2005, 08:11 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default XML/ASP/Javascript combo......help required

I have a asp page 'netfare.asp'

Heres APS code:

<%
 Set rsShowPub = con.Execute("select show_pub from company where company_id = '"& companyid &"'")
 if (not rsShowPub.Eof) then
 if rsShowPub("show_pub") then
%>
<br>
    <a name="loading2"><center><p><b>Loading Published Fares Please Wait...</b></p></center></a>

_______________________________________

I want this radio button:

<input type="radio" name="out" onclick="javascript: oSeg('<%=depFareID%>','<%=depContractID%>','<%=rsC ont("air_cds")%>','<%=invalidClass%>', '<% if ConFlag = false and preisdirect = true then response.write via& ",*" & ",*" else response.write "*" end if%>','<%=preisdirect%>','<% if preisdirect = true then response.write preaddoncost else response.write "*" end if%>','<%= pre_addonRBD %>','<%= pre_addonCD %>','<%= conFlag %>');"/>

________________________________________________

to be disabled until the loading of Published Fares is complete. How is this done?

The published fares table is populated with XML data and database data (i think). How can I wait until the table is fully populated (i.e all records have came back) - before enabling the radio button.

Thanks.

Picco



www.crmpicco.co.uk
__________________
_______________________
Ayrshire Minis - a Mini E-Community
http://www.ayrshireminis.com
http://www.crmpicco.co.uk
Reply With Quote
  #2 (permalink)  
Old March 4th, 2005, 06:50 AM
Friend of Wrox
Points: 8,019, Level: 38
Points: 8,019, Level: 38 Points: 8,019, Level: 38 Points: 8,019, Level: 38
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2005
Location: Mauchline, East Ayrshire, Scotland
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

function init()
{
  var colRadio = document.getElementsByName("out");
  if (colRadio.length)
  {
    for (var i = 0; i < colRadio.length; i++)
    {
      colRadio[i].disabled = false;
    }
  }
  else
  {
    colRadio.disabled = false;
  }
}

www.crmpicco.co.uk
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT for complicated xml to xml transf. required doug@sirvisetti XSLT 3 June 17th, 2005 04:26 PM
regarding combo boxes using html and javascript preethi.c Beginning VB 6 5 March 3rd, 2005 06:36 AM
Sample XML File Required asifdahir XML 1 January 12th, 2005 02:55 AM
ASP+XML OBJECT REQUIRED PROBLEM! S O S! mihalisp XML 0 April 28th, 2004 12:13 PM
XML, XML Schema, JavaScript, ASP cyberjames2003 XML 0 June 4th, 2003 04:49 AM



All times are GMT -4. The time now is 12:28 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.