Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 25th, 2005, 08:11 AM
Friend of Wrox
 
Join Date: Jan 2005
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
 
Old March 4th, 2005, 06:50 AM
Friend of Wrox
 
Join Date: Jan 2005
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





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





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