Convderting from asp

i have that code and i ould like to do the same with jsp can some one help me please
<html>
<body>
<INPUT id=button1 name=button1 type=button value=HTTPRequest onclick="return OnClick ();"> 
</body>
</html>
<script language="JScript">
function OnClick ()
     var xmldocRequest = new ActiveXObject ("MSXML.DOMDocument");
     xmldocRequest.async = false;
     xmldocRequest.loadXML ("<database><id>1</id></database>");
     document.write ("Request database:<br>");
     PrintXML (xmldocRequest);
     var xmldocResponse = PerformRequest ("HTTPRequestServer.asp", xmldocRequest);
     document.write ("Response database:<br>");
     PrintXML (xmldocResponse);
     return true;
function PrintXML (xmldoc)
     var Node;
     var Enum;
     for (
          Enum = new Enumerator (xmldoc.documentElement.childNodes);
          !Enum.atEnd ();
          Enum.moveNext ()
          document.write(
               "<b>" + Enum.item ().nodename + "</b>: " + Enum.item ().text + "<br>"
     delete Enum;
function PerformRequest (strURL, xmldocRequest)
     var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
     xmlhttp.Open("POST", strURL, false);
     xmlhttp.Send(xmldocRequest);
     return xmlhttp.responseXML;
</script>
theank !!!!!

It might be better to explain what exactly the script doew- sometimes it is easier to look at the end results than to try to copy the methods. I'm guessing that you are using serverside JScript and that you are using XML to describe a Database, but in spite of being an asp programmer half the time, I'm not sure entirely what you are doing with the rest of that.

Similar Messages

  • BW reports from ASP

    Hello,
    Is it possible to call BW reports from ASP and display on an html page?
    Regards,
    Suraj

    hi Suraj,
    yes, it's possible, we have done this, you will need MDX knowledge and you can use ADOMD, there is sample code in VB
    Connecting to SAP BW Using Visual Basic and ADO MD
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ee19e9c7-0301-0010-8f84-97e3f6d7b5a6
    also take a look
    OLE DB for OLAP
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/fe3bd290-0201-0010-2287-943e25d21a5c
    Access SAP BW OLAP BAPI Using C-Sharp and SAP .NET Connector 2.0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a2899090-0201-0010-a6b9-fbab56e37c11
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7ffba2ec-0c01-0010-2e81-988e48e3ca43
    hope this helps.

  • Crystal report run from ASP code significantly slower than when run in CRS

    We have CRS XI R2.  I developed a report that contains several on-demand sub-reports.  The report and sub-reports are very fast when run directly from CRS.  However, when I run from ASP (users run a link from the intranet), it takes 4 times longer (1 second on CRS, vs. 5-10 seconds on intranet).  The report takes longer, bringing up a sub-report takes longer and paging through sub-reports take longer.  What can be done to improve the speed of the report that is using the ASP code?  I used a sample program provided at this support site to develop the report and it is pretty basic code.  The only time I have a problem is when I have many sub-reports.  Since they are on-demand, I do not know why this would matter.

    This has been created as an incident with SAP support.  Things that you will want to check is making sure that you handle the postback to the code as you do not need to run your entire code on every postback.  This will help performance after the original load. 
    One other thing is to compare performance with the viewer within Infoview that uses the same backend server as your application, ie PSReportFactory uses the page server, so you'll want to test with the DHTML viewer.  RAS code (reportclientdocument) uses the Report Application Server so you will want to test with the Advanced DHTML viewer.

  • How to change Crystal Reports XI database name at run time from ASP code using ADO

    Dear All,
    I need advises regarding to my problem below
    I have two database in same SQL 2005 SERVER for TEST01 and LIVE01 Environtment, and I've created more than 100 reports with Crystal Reports 11 and call it from ASP classic page.
    The problem is how can I change a database from TEST01 to LIVE01 at the run time from ASP code as I already using TEST01 database on Crystal Reports and I do not want to set a new database location inside crystal for each reports
    Thanks and wait for your reply soon.
    Below is my code, which has no effect to crystal reports although I've change the database from TEST01 to LIVE01:
    <%
    Dim oADOConnection, oRptTable, oADORecordset, sql
    Dim struser, strpwd, strdriver, dblocation, dbname, strConnect
    struser = "sa"
    strpwd = ""     
    strdriver = "{SQL SERVER}" 
    dblocation = "SQL200501"     
    dbname = "LIVE01"    ' Changed from TEST01 to LIVE01
    strConnect = "User Id=" & strUser & ";"
    strConnect = strConnect & "PWD=" & strPwd & ";"
    strConnect = strConnect & "DRIVER=" & StrDriver & ";"
    strConnect = strConnect & "SERVER=" & DBLocation & ";"
    strConnect = strConnect & "DATABASE=" & dbName
    sql="Select * from Employee"
    Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.11")
    Set session("oRpt") = session("oApp").OpenReport("C:\REPORTS\RPT01.RPT", 1) 'USING TEST01 DATABASE
    session("oRpt").MorePrintEngineErrorMessages = False
    session("oRpt").EnableParameterPrompting = False
    session("oRpt").DiscardSavedData
    Set oADOConnection = Server.CreateObject("ADODB.Connection")
    oADOConnection.Open (strConnect)
    Set oADORecordset = Server.CreateObject("ADODB.Recordset")
    Set oRptTable = session("oRpt").Database.Tables.Item(1)
    oRptTable.SetDataSource oADORecordset, 3
    session("oRpt").SQLQueryString = CStr(sql)
    session("oRpt").ReadRecords
    %>

    Did you ever find a solution to this problem?  I have the same problem when moving reports from development to Test to Production environments.  If the DBName is not the same the report ignores the name provided at runtime.

  • Connecting to remote oracle server from asp

    Hi All
    How can I access remote oracle server from asp?. I'm using the following connection string.
    " Provider=MS Remote;Remote Provider=MSDAORA;Data Source=XYZ;Remote Server=http://DBServersIP;User Id=id;Password=pw"
    Both the web server and DB server has oracle client. I can tnsping, connect using sql * plus from the webserver.
    But when I try to do simple connection & query , I get the following error.
    " Microsoft ADO/RDS(0x80072EFD)
    Internet Client Error: Cannot Connect to Server.
    All the permission settings are given correctly (after referring Microsoft & Oracle websites)
    Can someone throw some links or help.?
    Your replies much appreciated.
    Thank you
    Arum

    why do you have http://DBServersIP as the remote server?
    Your connection string should look like:
    "Driver={Microsoft ODBC for Oracle};Server=MY_SID;Uid=my_user;Pwd=my_pwd;"
    There are other variations, but none of them should include HTTP anywhere.

  • Calling LabView from ASP or PHP ?

    Hi;
    I was wondering if someone could help me.
    I need to control a spectrum analyzer remotely.. The VI's are ready, and I would Like to call/Run them from ASP/PHP in order to enable the remote client to interact with the VI's via a normal Web Browser.
    Tips:
    client should be able to send the VI's some data(variables).
    Get the results back and display it on the web page.
    Kind Regards
    K.S.
    Student

    In that case, you might want to check http://www.jeffreytravis.com/. He has a book called "Internet Applications in LabVIEW". The book was written before 6.0 introduced remote panels. There's also an application there available for download called LabVNC that might work for you. I haven't tried it but it sounds like it would do the trick.

  • I can`t connect to Oracle 11g64bits on a WindowsServer2008R264bits from ASP

    Hi,
    I am trying to connect to Oracle 11g 64 bits on a Windows Server 2008 R2 64 bits from ASP.
    But I can´t no matter what kind of provider or connect string I use.
    Please see this little video to better understanding. https://www.dropbox.com/s/cq7lx08nfad24yy/Oracle%20Connection%20Error.wmv
    I will apreciatte any help I have not ideia what is happening...
    This is my ASP code:
    Imports System.Data.OleDb
    Imports System.Data.OracleClient
    Public Class _Default
    Inherits System.Web.UI.Page
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim cnn As OleDbConnection = New OleDbConnection()
    'SqlServer connection
    'cnn.ConnectionString = "Provider=sqloledb;Data Source=localhost;Persist Security Info=False;User ID=sa;Password=creative;Initial Catalog=DW_Decision;"
    'Oracle Connection
    'cnn.ConnectionString = "Provider=OraOLEDB.Oracle.1;Data Source=orcl64;Persist Security Info=False;User ID=scott;Password=creative;"
    'cnn.ConnectionString = "Provider=msdaora;Data Source=orcl64;User ID=scott;Password=creative;"
    'cnn.Open()
    'Label1.Text = "OK conexion"
    'cnn.Close()
    Dim cnn2 As OracleConnection = New OracleConnection()
    'Oracle Connection
    'cnn2.ConnectionString = "Data Source=orcl64;Integrated Security=yes;"
    cnn2.ConnectionString = "Data Source=orcl64;User Id=scott;Password=creative;Integrated Security=no;"
    cnn2.Open()
    Label1.Text = "OK conexion"
    cnn2.Close()
    End Sub
    End Class
    Edited by: 880676 on Feb 7, 2013 10:12 AM

    Ok, I already installed the Oracle Client 32 in another folder.
    What reference must I include in the page?
    Currently I am using: Imports System.Data.OracleClient
    And what connect string should I use?, please see all options I tried...
    Thanks in advance,
    Imports System.Data.OleDb
    Imports System.Data.OracleClient
    Public Class _Default
    Inherits System.Web.UI.Page
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim cnn As OleDbConnection = New OleDbConnection()
    'SqlServer connection
    'cnn.ConnectionString = "Provider=sqloledb;Data Source=localhost;Persist Security Info=False;User ID=sa;Password=creative;Initial Catalog=DW_Decision;"
    'Oracle Connection
    'cnn.ConnectionString = "Provider=OraOLEDB.Oracle.1;Data Source=orcl64;Persist Security Info=False;User ID=scott;Password=creative;"
    'cnn.ConnectionString = "Provider=msdaora;Data Source=orcl64;User ID=scott;Password=creative;"
    'cnn.Open()
    'Label1.Text = "OK conexion"
    'cnn.Close()
    Dim cnn2 As OracleConnection = New OracleConnection()
    'Oracle Connection
    'cnn2.ConnectionString = "Data Source=orcl64;Integrated Security=yes;"
    cnn2.ConnectionString = "Data Source=orcl64;User Id=scott;Password=creative;Integrated Security=no;"
    cnn2.Open()
    Label1.Text = "OK conexion"
    cnn2.Close()
    End Sub
    End Class

  • ODBC fails but only from ASP page (12154)

    I have a working Win2k/MDAC 2.6 box, that can connect perfectly to an Oracle 8.1.7 on another machine. I can TNS ping this host, I set up an ODBC DSN and I can connect from the Oracle ODBC Test program. I wrote a simple script (see below) to test the connection, and run it as a Windows script (i.e. double click on the file) and it runs perfectly. All is great.
    BUT, when I copy the exact same script into an ASP file (surround the script the the "<%" and "%>" delimiters) and run it, I get this:
    ORA-12154 TNS could not resolve service name.
    Anyone have any ideas why this script fails but ONLY from ASP??
    Here is my simple script:
    dim rs, conn
    set conn = CreateObject("ADODB.Connection")
    conn.open "ora817"
    Thanks very much,
    Marc Fairorth

    I am using asp connecting an oracle 8.1.5
    Using this :
    Set Conn=Server.CreateObject("ADODB.Connection")
    Set RS=Server.CreateObject("ADODB.RecordSet")
    Conn.Open Connection
    RS.open SQL1, Conn
    The only difference to your script is the server option
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Marc Fairorth ([email protected]):
    I have a working Win2k/MDAC 2.6 box, that can connect perfectly to an Oracle 8.1.7 on another machine. I can TNS ping this host, I set up an ODBC DSN and I can connect from the Oracle ODBC Test program. I wrote a simple script (see below) to test the connection, and run it as a Windows script (i.e. double click on the file) and it runs perfectly. All is great.
    BUT, when I copy the exact same script into an ASP file (surround the script the the "<%" and "%>" delimiters) and run it, I get this:
    ORA-12154 TNS could not resolve service name.
    Anyone have any ideas why this script fails but ONLY from ASP??
    Here is my simple script:
    dim rs, conn
    set conn = CreateObject("ADODB.Connection")
    conn.open "ora817"
    Thanks very much,
    Marc Fairorth<HR></BLOCKQUOTE>
    null

  • Connecting to Oracle database from ASP = please help!

    i have tried every kind of combination of connection string to connect to a 9i database from ASP but it does not work!
    I am using XP Professional and have 9i Developer and ODP.NET installed but I want to use OLE DB (Oracle or Microsoft) to access the database. I have a feeling the web page is not seeing the driver. here is my code:
    <% Option Explicit %>
    <HTML>
    <HEAD><TITLE>Oracle Data Access</TITLE></HEAD>
    <BODY>
    <%
    Dim objConnection
    Dim objRecordset
    Set objConnection = Server.CreateObject("ADODB.Connection")
    With objConnection
    .ConnectionString = "Provider=MSDAORA;Data Source=obiwan;" & _
    "User ID=user; Password=pass;"
    .Open
    Response.Write "ADO Provider=" & .Provider & "<BR>"
    Set objRecordset = .Execute("SELECT sysdate, user FROM dual")
    End With
    </body>
    </html>

    Try using this connect string:
    Provider=MSDAORA.1;Password=tiger;User ID=scott;Data Source=ORA92;Persist Security Info=True
    substitute your username/password and Data Source here.
    This works on Windows2000 with Microsoft OLEDB provider
    for Oracle.

  • Accessing Crystal Reports XI from ASP

    Post Author: cutedude43
    CA Forum: General
    I need to access Crystal reports from ASP. The catch is Crstal Reports XI is not installed on the web server where the ASP application is hosted. However there is another machine where Crystal Reports XI is installed. Can you please let me know, in detail, how I could view crystal reports through the ASP application under this scenario. If this is possible please also detail the required run time files that needs to be deployed on the web server where the ASP application is hosted.
    If this is not possible, please detail the other ways through which I can invoke the crystal report from my ASP application page.
    Thanks
    Vaidyanathan

    The only code you will find on this web site is for VB 6. I have a few C++ apps. Not knowing a thing about flex, I am not sure if either of those will be of any use to you(?). Other than that, see if you can find some flex forum and ask there...
    Ludek

  • Going from ASP TO PHP

    I have been with this company for the past 10 years and NOW
    they are no longer going to support ASP and they are only going to
    focus on PHP. Is there a program that will convert asp to php? Is
    this even something I should attempt as I do not know any coding
    except what I have learned along the way. Thank you in advance.

    > Besides with PHP you get David Powers; who could ask for
    more :)
    Indeed.
    What I really like about PHP is that I can do in one or two
    commands what
    would take me 8 or 10 lines of code in VBScript. And David
    Powers.... 8)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "JBWebWorks" <[email protected]> wrote in
    message
    news:ghc4rf$ro3$[email protected]..
    >I was an ASP user for many years and switched to PHP and
    am very glad that
    >I
    > did. I used Web Assist and continue to do so and have
    learned to develop
    > somewhat where any extension would not do what i wanted.
    I have found PHP
    > to be
    > much easier to learn beyond the basics (especially in db
    connections).
    > i have moved dozens of sites from ASP to PHP and there
    was no transfer
    > available that i could find, so i just started page by
    page. I have found
    > that
    > PHP has been more reliable.
    > I saw the posting thread on WA about not supporting ASP
    but feel that i
    > surely
    > have gotten my moneys worth out of the extensions that i
    bought and they
    > all
    > transferred to PHP.
    > Besides with PHP you get David Powers; who could ask for
    more :)
    >
    >
    >

  • Problem call stored procedure from asp using oo4o

    I am having a problem calling a pl/sql stored procedure from ASP.
    Attached is the code. Any help would be appreciated. There are no errors returned on the page as far as I can tell.
    Sub add_cc_rec(p_location_rental_object_num, p_start_date, p_end_date, p_rate_code, p_quantity)
         'On Error Resume Next     
         Dim msg, stat, p_available, p_free_sell, p_cap_level, p_status_code, p_error_code
         Dim OraDatabase, PlSqlStmt
         Response.Write "In Function add_cc_rec<br>"
         msg = ""
         stat = ""
         p_available = "Y"
         p_free_sell = "Y"
         p_cap_level = "0"
         p_status_code = 2
         p_error_code = ""
         Set OraSession = Server.CreateObject("OracleInProcServer.XOraSession")
         Response.Write "Created OraSession<br>"
         Set OraDatabase = OraSession.OpenDatabase(ORADB, RUUID &"/"& RUPWD, 0)
         'Set OraDatabase = OraSession.DbOpenDatabase(ORADB, RUUID &"/"& RUPWD,cint(0))
         'Set OraDatabase = OraSession.DbOpenDatabase(ORADB, UID &"/"& PWD,cint(0))
         Response.Write "Created OraDatabase with the following parameters<br>"
         Response.Write "Database is " & ORADB & "<br>"
         Response.Write "UserId is " & RUUID & "<br><br>"
         OraDatabase.Parameters.Add "p_location_rental_object_num", p_location_rental_object_num, ORAPARM_INPUT, ORATYPE_VARCHAR2
         OraDatabase.Parameters.Add "p_available", p_available, ORAPARM_INPUT, ORATYPE_VARCHAR2
         OraDatabase.Parameters.Add "p_start_date", p_start_date, ORAPARM_INPUT, ORATYPE_VARCHAR2
         OraDatabase.Parameters.Add "p_end_date", p_end_date, ORAPARM_INPUT, ORATYPE_VARCHAR2
         OraDatabase.Parameters.Add "p_free_sell", p_free_sell, ORAPARM_INPUT, ORATYPE_VARCHAR2
         OraDatabase.Parameters.Add "p_quantity", p_quantity, ORAPARM_INPUT, ORATYPE_VARCHAR2
         OraDatabase.Parameters.Add "p_cap_level", p_cap_level, ORAPARM_INPUT, ORATYPE_VARCHAR2
         OraDatabase.Parameters.Add "p_rate_code", p_rate_code, ORAPARM_INPUT, ORATYPE_VARCHAR2
         OraDatabase.Parameters.Add "p_status_code", p_status_code, ORAPARM_OUTPUT, ORATYPE_NUMBER
         OraDatabase.Parameters.Add "p_error_code", p_error_code, ORAPARM_OUTPUT, ORATYPE_VARCHAR2
         Response.Write "Calling PL/SQL procedure cc_insert <br>"
         Set PlSqlStmt = OraDatabase.CreateSQL("Begin RATELINK_CAPACITY_CONTROL.cc_insert(:p_location_rental_object_num, :p_available, :p_start_date, :p_end_date, :p_free_sell, :p_quantity, :p_cap_level, :p_rate_code, :p_status_code, :p_error_code); end;", ORASQL_DEFAULT)
         Response.Write "PL/SQL procedure cc_insert has been called <br>"
         Response.Write "Status code from PL/SQL procedure cc_insert (" & OraDatabase.Parameters("p_status_code").value & ")<br>"
         Response.Write "Error code from PL/SQL procedure cc_insert (" & OraDatabase.Parameters("p_error_code").value & ")<br>"
         'Response.Write "Error code from PL/SQL procedure cc_insert (" & p_error_code & ")<br>"
         OraDatabase.Parameters.Remove "p_location_rental_object_num"
         OraDatabase.Parameters.Remove "p_available"
         OraDatabase.Parameters.Remove "p_start_date"
         OraDatabase.Parameters.Remove "p_end_date"
         OraDatabase.Parameters.Remove "p_free_sell"
         OraDatabase.Parameters.Remove "p_quantity"
         OraDatabase.Parameters.Remove "p_cap_level"
         OraDatabase.Parameters.Remove "p_rate_code"
         OraDatabase.Parameters.Remove "p_status_code"
         OraDatabase.Parameters.Remove "p_error_code"
         Set OraSession = Nothing
         Set OraDatabase = Nothing
    End Sub

    1 - Can I clear errors on the OraDatabase class. How do
    I do that?They store the last error, should clear itself.
    2. Is this a client side or server side error? If this
    is a client side error, how do I resolve it?Server side error only. Make sure the user you connect as can see 'RATELINK_CAPACITY_CONTROL.CC_INSERT' and has execute permissions on it. You may need to qualify it with a schema name if the connected user is not the schema owner.

  • Oracle fmx files from ASP

    Hi
    How can I call oracle fmx files from ASP program
    Rgds
    Dev

    Hello,
    Any (Web)Forms application can be launched through an Internet browser URL.
    (http://machine:port/forms/frmservlet?config=...)Francois

  • Error when calling a javascript fonction from asp c# code

    Hi,
    I have an error when I excute my code below and I do not understand where it is coming from.
    page ASPX:
    <asp:Button ID="Bt_refresh" OnClick="Bt_refresh_Click" runat="server" Text="Resfresh" />
    page ASP:
    protected void Bt_refresh_Click(object sender, EventArgs e){            System.Web.UI.ScriptManager.RegisterStartupScript(this, this.GetType(), "Test", "<script type='text/javascript'>switchTo(event,'mapserv.xml');</script>", false);           }
    page JavaScript:
    function switchTo(event, dzi) {    console.log("Debut switchTo");    if (dzi) {        console.log(dzi);        viewer.openDzi(dzi);        console.log("open dzi");    } else {        viewer.close();        console.log("viewer closed");    }}
    and I get that error:
    Uncaught TypeError: Cannot read property 'openDzi' of nullLoad_image.js:14
    switchToLoad_image.js:14
    (anonymous function)
    However my link is working when I use this method in my ASPX page:
    <a href="#" onclick="switchTo(event,'map.xml');">map</a>

    Hi mi jo,
    ASP.NET forum is the right forum for your question, you can get more helpful ansers if you post a new thread there.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Send Variable From ASP to Flash to ASP

    I'm really, really new to Flash and using Flash 8 Pro. This
    is what I'm trying to do. I have a list of cars, when someone
    clicks on a car, they are taken to a page with details about the
    car and a flash gallery. The Flash Gallery is reads the image files
    names from an xml file. I'm really using an asp file (photos.asp).
    Anyway, I need the pass photos.asp the vin of the car from flash.
    I did this is the VehicleDetailSaleen.asp screen
    <object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
    width="600" height="530">
    <param name="movie"
    value="photogallery.swf?VIN=<%=(Recordset1.Fields.Item("VIN").Value)%>">
    <param name="quality" value="high">
    <param name="VIN"
    value="<%=(Recordset1.Fields.Item("VIN").Value)%>">
    <embed
    src="photogallery.swf?VIN=<%=(Recordset1.Fields.Item("VIN").Value)%>"
    width="600" height="530" quality="high" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash"
    vin="<%=(Recordset1.Fields.Item("VIN").Value)%>"></embed>
    I just don't know how to catch it in the flash file and send
    it back....
    #include "scripts.as"
    LoadVars;
    loadPhotoXML("Photos.asp?VIN="+ this.vin);
    mclThumbnails.onEnterFrame=function(){
    thumbnailsRoll()
    function loadPhotoXML(filename:String):Void {
    photoXML.ignoreWhite = true;
    photoXML.load(filename);
    photoXML.onLoad = function(success:Boolean):Void {
    if (success) {
    photoNumber = 0;
    rootNode = this.firstChild;
    totalPhotos = rootNode.childNodes.length;
    for (var i = 0; i<totalPhotos*2; i++) {
    if (i<totalPhotos) {
    thumbnails
    = rootNode.childNodes.childNodes[0].firstChild.nodeValue;
    url
    = rootNode.childNodes.childNodes[1].firstChild.nodeValue;
    titleText
    = rootNode.childNodes.childNodes[2].firstChild.nodeValue;
    } else {
    thumbnails
    =
    rootNode.childNodes[i-totalPhotos].childNodes[0].firstChild.nodeValue;
    url =
    rootNode.childNodes[i-totalPhotos].childNodes[1].firstChild.nodeValue;
    titleText
    =
    rootNode.childNodes[i-totalPhotos].childNodes[2].firstChild.nodeValue;
    thumbnailsLoad(i);
    checkProgressLoad(0);
    caption.text = titleText[0];
    Please, I know I don't know anything, but I've been reading
    forums for 2 days and everyone seems to have a different idea but I
    don't really understand them. I just need a simple, do this, then
    this sort of help.
    Thanks,
    Heather

    heatherlsi. anyway you can post your resulting code? having
    probelm with writing a Flash to ASP script... thanks

Maybe you are looking for

  • Satellite L - How to create a recovery disk?

    Hey, I deinstalled the Programm "Recovery Disc Creator" accidentally. But the Folder with the Win Vista Recovery Disc Informations are still in my Computer. Now i want you to help me in creating a Recovery Disc. My System is very unstable. So i want

  • Multiple iDocs in a single file

    Hello, I'm working on some integration to send a purchase order change file into SAP from BizTalk.  Everything works when we send every change as its own iDoc, or when we send all changes for a single PO in a single file, but when we try and include

  • E6: Missing photos in Gallery

    I have copied a load of songs and pictures from Windows to my E6 microSD card. The songs are working nicely, no problem there (= SD card working properly). The photos don't appear in the gallery/photo browser. When I reboot, the phone claims it is sc

  • Unable to find QuickTime

    Using a New iMac (OSX 10-9-3). Quicktime player works fine. QuickTime X standard software in this operating system. However, Aftereffects cc2014 says Quicktime not installed so full functionality of program not available. Premiere Pro 2014 and Prelud

  • Help Requested. Have a BI Publisher requirement.

    Greetings! I need some help to go about in the right direction in creating some BI report template and emailing. I have oracle 11g DB, OBIEE and BI Publisher. I have a table in Oracle DB - Users The columns in the table are - First name,  last name,